> as far as the language goes, is android java 1.6 or 1.5? i assume 1.6 but > i > couldn't find anything that stated that explicitly.
The Dalvik cross-compiler (dx) understands 1.5 and 1.6 bytecodes. > the other thing i don't understand is binary compatibility. i had assumed > i > could not take a class compiled with something other than the android SDK > and use it in android, but it appears that is not that case as i've seen > that one can take an arbitrary JAR and use it in an android project ... > with > the limitation i assume that it can't use parts of the Java SE SDK that > aren't part of android. is this correct? There are a number of limitations that restrict third-party pre-compiled JARs: -- does it use a class not in Android? -- was it compiled with something earlier than Java 1.5? -- was it compiled with Sun's Java (vs. GCJ or something else)? -- etc. However, many JARs will work out of the box, since they do not fall afoul of those limitations. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---