Many applications utilize Vuforia to display static models. However,
our prototype requires dynamic models that adapt to the regular
changes occurring on the library shelf. As the native Vuforia
code loads its textures into memory upon initialization, that part
of the system needs to be reloaded every time a change occurs.
To ensure that this an efficient process, the Java side of the
application loads one instance of each texture at run time. Simple
strings consisting of comma-separated integers (e.g. 0,1,1,0) are
passed between the functions to indicate which markers need to
be loaded next (i.e. 0 = cross, 1 = tick). Thus, the Java code replaces
the current textures with the new set of textures before calling a
native reinitialization.