"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

lazy loading of textures

In VideoPlack sample we are loading textures in onCreate method with following method before updateApplicationStatus(APPSTATUS_INIT_APP);

private void loadTextures()

    {

        mTextures.add(Texture.loadTextureFromApk("VuforiaSizzleReel_1.png",

                getAssets()));

        mTextures.add(Texture.loadTextureFromApk("VuforiaSizzleReel_2.png",

                getAssets()));

        mTextures.add(Texture.loadTextureFromApk("play.png",

                getAssets()));

        mTextures.add(Texture.loadTextureFromApk("busy.png",

                getAssets()));

        mTextures.add(Texture.loadTextureFromApk("error.png",

                getAssets()));

    }

What if I want to load textures after downloading them from internet? What should I do? If I simply add texture to mTextures array then it is not loaded since we have to load textures in cpp file as well.

Malleswari

Mon, 05/27/2013 - 07:56

Hi  

i compile the my project and get  the below statments in console of eclipse IDE

13:10:20 **** Incremental Build of configuration Default for project Ecognosys ****

Hi, two things to pay attention to are"

in CloudReco.java (or VideoPlayback.java or anyway in your main activity file), you should see these lines:

Malleswari

Tue, 05/28/2013 - 07:31

hi

i get the libQCAR.so file,thank you

 

now i get the error like 

 

InitQCRTask::onPostExcute:FailedInitializeQCAR.Exiting

 

please give me the solution as early as possible

thanks

Malleswari.D

Hi, that error (Failed to initialize) typically occurs if QCAR has already been initialized and you try to init again.

Make sure your code does not perform initialization twice...

 

Malleswari

Tue, 05/28/2013 - 08:38

how can i get that QCAR be loaded or not

 

 

 

 

when run in device its shows failed load tracker data