
In what way are they exposed for use? I certainly haven't seen any
API which lets you touch any of the standard GUI utilities without
writing JNI wrappers that communicate to the Java based UI elements.
As far as I know there is no way to use the actual Android API: you
have to write a wrapper through the JNI to use the Java version.
Can you point to a native library which allows you to hook in to the
Android SDK? I'd be very interested in seeing it.
Kris
On Wed, Jan 23, 2013 at 10:54 AM, Brandon Allbery
On Tue, Jan 22, 2013 at 8:37 PM, Kristopher Micinski
wrote: By the way, the Android APIs aren't really meant to be used by native code: the only real use for native code in Android is GPU code and math code (think games and DSP-type programs).
They may not be "meant" to be in some sense, but from Android 2.3 on they are exposed for such use --- and I believe language porting like this is one of the intended uses.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net