getSystemService will only work if you have written client-side code in the framework to create a client wrapper API around the service. For device customization, you should just use your own library that uses the ServiceManager directly to get the service and returns whatever API you think is appropriate. (+ the comments I previously made about how to have a service in a separate .apk get run at boot in the system process.)
On Mon, Dec 7, 2009 at 8:25 PM, Bharath P <[email protected]> wrote: > > I cannot call the third party services by getSystemService() method > but is there a way to to register my service as System Service so that > I can invoke the > service my above getSystemService() method? > I have to register my service with Android Framework. > I think I can do this by making changes to the Android framework and > compile the code. > Please help me out how I can change the Android source code. I already > got Android Source code (Cupcake) from git repository and compiled > images on my host machine. > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
