Most JNI functions are registered with the VM during runtime boot. FYI, the 1.0 SDK does not support native code development. If you proceed along this path, be aware that any API's you use are subject to change without notice.
On Nov 17, 2:03 am, Urakagi <[EMAIL PROTECTED]> wrote: > Hi, > I have a G1, and downloaded the Android source code. > When I open, say, android.hardware.Camera.java, it uses native > functions without calling loadLibrary(). Of course if I do the same in > my application, UnsatisfiedLinkError will come. > I tried to load libandroid_runtime.so, but the device just replays > there's no such library. > > Does anyone know what trick the SDK uses, so it can use native > functions? > Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

