Thanks, good to know. Still I now find that if I compile my app for SDK 1.5 but without using any 1.5 features, I can next run my app on my DP1.1 (SDK 1.1), but just having code with 1.5 features in a branch that is never reached causes a java.lang.VerifyError when trying to run on my DP1.1. So the usual approach that works with Java ME seems to break here. Not sure now if I can create a backward compatible APK for an app that contains 1.5 features.
On Apr 15, 12:24 am, Xavier Le Vourch <[email protected]> wrote: > Use the android.os.Build class to check the runtime version: > Build.VERSION.SDK will be 3 for 1.5 and 2 for 1.1 > > Best Regards, > > Xavier Le Vourch --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

