Two things need to happen:

(1) The necessary shared libraries need to be loaded.
(2) The various native methods need to be registered.

In frameworks/base/core/jni/AndroidRuntime.cpp you can see
AndroidRuntime::startReg(), which takes care of registering the native
methods associated with the Android application framework.  This is
called from AndroidRuntime::start, which is where the framework
initialization begins.

I believe what hackbod was suggesting earlier is that you should look
at the implementation of "am" to see how it starts up, and perhaps do
something similar.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to