> Actually this project refers to java.beans a number of times > > import java.beans.Encoder; > import java.beans.ExceptionListener; > import java.beans.PersistenceDelegate; > import java.beans.XMLEncoder; > import java.beans.XMLDecoder; > > Is there anyway to getting hold of these classes in android? > Can I download a .jar or something and ship it with my app?
Not readily on all fronts. Android's build tools are not set up to handle imports of java.* and javax.* classes. If you try adding those to your code, the compiler will fail with a very verbose error. The error message includes a compiler switch you can use to override the compile-time check, but it indicates your code is probably not going to work. That being said, you can: -- Grab those classes out of Apache Harmony -- Move them into your own package (e.g., jax.beans) -- Change the references in the source code you are trying to use and have it reference the jax.beans classes instead of java.beans This, for example, is how I got Rhino to work back in Android 1.1, when no java.beans.* classes were included in Android. -- 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 Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en