Hi All, I am loading the service in the systemserver main method and also i am registering the native methods by registered to AndroidRuntime:. Once this is done and i flash the phone its not getting boot up. Can you please tell if i am missing something or something else need to be done. please give your suggestion
Regards Nitin On Sep 8, 11:27 pm, fadden <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
