Josh Guilfoyle wrote: > This isn't entirely true. While Java is the only officially supported > language, a quick Google search has revealed that folks have figured > out how to use the ARM toolchain to build native C applications and > even JNI libraries for use in Java.
Yup; however, it is currently not possible to do so *usefully* --- there's no way to provision JNI libraries onto the system via .apk files. (The system will only load libraries from /system. Java applications can't write there.) And plain executables are probably useless due to an inability to communicate with the Java world for doing things like UI. (Although I'll admit that I haven't tried playing with Runtime.exec() yet; it might be possible to launch an app that way and communicate with it via named pipes. Probably not worth the bother, though.) Given that there are also a number of rather critical bugs in things like the JNI shared library loader, I would currently not recommend going this route except for a proof-of-concept. Apart from anything else, Google's quite likely to redesign all this in the next release... -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ "I have always wished for my computer to be as easy to use as my │ telephone; my wish has come true because I can no longer figure out │ how to use my telephone." --- Bjarne Stroustrup
signature.asc
Description: OpenPGP digital signature

