Log in or register to post comments

Are sample *.2.0.6 apps only for ICS + ?

January 8, 2013 - 11:24am #1

Hey guys,

I had played with the Vuforia SDK when it was around 1.5. Now I see that the SDK has been upgraded to v 2. The new samples that come with the new SDK seem to be only for ICS (Android 4 +) Is this really the case? Are these samples backward compatible with SDK 1.5?

In any case, good job guys! Keeps getting better and better.

 

You're welcome.

January 8, 2013 - 2:59pm #5

You're welcome.

OK, I feel like a dunce now.

January 8, 2013 - 2:53pm #4

OK, I feel like a dunce now. As ever, thanks for the help guys!

Hi hsn22, as David suggested,

January 8, 2013 - 11:43am #3

Hi hsn22, as David suggested, the migration guide includes relevant info about this.

Beside, probably you are referring to the fact that when you open a sample project in Eclipse, it tries to use Android 4.x by default (and the AndroidManifest also uses elements that are available only in ICS, such as the "screenSize" and "smallestScreenSize" attributes);

in this case you have two options:

1. install Android 4.0 or 4.1 using the SDK manager in Eclipse (then the project will compile, but you will still be able to deploy and run it on a 2.2 device, because the min-sdk version of the project is still set to 8, despite the fact that the target-sdk is set to 14 or 16); 

2. change the project settings to use Android 2.2 (or a version of your choice); in this case, though, you will need to manually remove the "screenSize" and "smallestScreenSize" attributes from the AndroidManifest, as they will be highlighted in red by Eclipse.

 

Option 1 is preferrable.

I hope this helps.

 

 

The 2.0 SDKs support

January 8, 2013 - 11:33am #2

The 2.0 SDKs support  everything from 2.2 to the current release. But there are API changes from 1.5 to 2.0 so be sure to check out the migration guide if you want to upgrade a 1.5 project. 

https://developer.vuforia.com/resources/dev-guide/transitionmigration-guide

Log in or register to post comments