Log in or register to post comments

Question about loading trackable dynamically

May 27, 2011 - 6:47pm #1

Hello pro, i want to ask a question how to load trackable dynamically. As you know, the trackable has 2 files XML file and .dat file included in asset of apk. How can i add more trackable into this asset of apk? For example, delete old xml file and .dat file, copy new these files into without traditionally recompiling and installing a new apk. I want to do i dynamically. Or is it existing a method that it doesn't need to place these files into asset, can be placed in sdcard?
I am very appreciated with your help as soon as possible.
Thanks

Re: Question about loading trackable dynamically

November 29, 2011 - 6:50pm #14

Just so you know, swapping out datasets at runtime is a feature that is coming soon!

- Kim

Re: Question about loading trackable dynamically

November 29, 2011 - 1:39pm #13
tomwilson wrote:

I hacked a way to do this on iOS, see here:

http://stackoverflow.com/questions/8160863/loading-markers-from-outside-the-app-bundle-in-ios-with-qualcomm-ar-qcar

Not sure if this would get through the app store review process, however.

Hello Tom,

Thank you so much for sharing this with us, but you think you could maybe be a little more detailed in your steps of how you archive this?

i'm having the same problem, i need to be able to update my content without having the user download the app every time and im really interested in this that you did but unfortunately i'm not following you.

Thank you so much in advace!

Best regards,
-Brian.

Re: Question about loading trackable dynamically

November 18, 2011 - 2:41am #12

Thank you, Kim :)

Re: Question about loading trackable dynamically

November 17, 2011 - 8:52am #11

The texture loading code that we provide in the samples is only an example, you have full control of how you feed texture bitmaps to OpenGL. I suggest looking at our code as a starting point and adapting it to load the images from another directory (e.g. the sdcard).

- Kim

Re: Question about loading trackable dynamically

November 17, 2011 - 3:32am #10
ksiva wrote:

There is currently no way to change the trackables without uploading a new version of the app. We are working on this.

You can change the models at runtime, you have full control over model rendering. We can't help with the specific code, but you should be able to load models from the sdcard or from the internet. All you need are arrays to feed to OpenGL, see the renderFrame method.

- Kim

Thank you, Kim!
Also the texture, that is in the asset folder? the assets folder is not modifiable at runtime.

@tomwilson Thanks :)

Re: Question about loading trackable dynamically

November 16, 2011 - 7:28pm #9

I hacked a way to do this on iOS, see here:

http://stackoverflow.com/questions/8160863/loading-markers-from-outside-the-app-bundle-in-ios-with-qualcomm-ar-qcar

Not sure if this would get through the app store review process, however.

Re: Question about loading trackable dynamically

November 15, 2011 - 9:58am #8

There is currently no way to change the trackables without uploading a new version of the app. We are working on this.

You can change the models at runtime, you have full control over model rendering. We can't help with the specific code, but you should be able to load models from the sdcard or from the internet. All you need are arrays to feed to OpenGL, see the renderFrame method.

- Kim

Re: Question about loading trackable dynamically

November 15, 2011 - 3:17am #7

+1 for this feature again.

Is there really no way to update the trackables, without the user needs to update the app in the market? Does the same problem for the 3D objects? Or can I move the object .h-files to the SD card? If so, how to solve it?

Thank you!

Re: Question about loading trackable dynamically

October 15, 2011 - 7:37pm #6

+1 vote for me as well. Thanks.

Re: Question about loading trackable dynamically

October 3, 2011 - 1:53am #5

I'm in agreement, This feature is whats holding a lot of developers back. So many other AR solutions are charging enterprise prices for something like this. It'd be great if some of us small guys could get to it and get creative with it as well.

Re: Question about loading trackable dynamically

September 25, 2011 - 3:24am #4

+1 for this feature again.

Any update on when this feature might make it into a release, I remember this being requested coming up to a year ago.

Is there some reason technically that this isn't as simple as changing the initialization of the API to take in an absolute path to a directory these files reside in?

cheers,

Lee

Re: Question about loading trackable dynamically

June 24, 2011 - 4:13pm #3

+1 For this feature. Loading trackables at run time coupled with a RESTFull web API to generate trackables from images would be a huge win.

Re: Question about loading trackable dynamically

May 28, 2011 - 7:15am #2

What you are describing is not currently possible. The .dat and config.xml file are dedicated to the apk and can not be loaded or linked to at runtime. You have to build them into the APK.

This is a popular feature request, and apparently the QCAR team is looking into it. So we may see this capability in the future.

Log in or register to post comments