No you can't 'use' JDK1.6 When setting up eclipse, for example, you don't link your Android projects to any JRE. You link it to the Android SDK. If i'm not mistaken, the Android SDK adhers to the Java 1.5 language spec. But for the available packages, apis, etc, Android bundles all the java.*, javax.* packages. Consult developer.android.com for the API docs.
On Apr 22, 1:11 pm, Keith Wiley <[email protected]> wrote: > Simple question, I did a cursory search on the dev guide and didn't > get any obvious hits, although maybe I missed it (there's something > about JDK versions, but they don't correlate to 1.5 or 1.6, they are > more like 5 or 6 if you get my meaning). I would like to use Java 1.6 > for some things. In particular, I provides much better Collection > interfaces. Before I go to all the trouble is switching everything > over (which I'm kinda unclear about anyway (Mac version, Mac Java > version, Eclipse version, Android SDK/JDK/JRE/ AAH!), I just want to > know if it's a fruitless endeavor. Can I use Java 1.6 on an Android > device? > > Thanks for any clarification. > > Cheers! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

