[android-porting] How to register a system service in the ContextImpl class?

2014-08-21 Thread Karan Kishore
I have created a package in frameworks/base which is having my service class and registered it in the *Context/ContextImpl* classes but while building the image I am getting an error which says frameworks/base/core/java/android/app/ContextImpl.java:453: cannot find symbol symbol: class

Re: [android-porting] Re: How to add 3rd party package in android framework

2014-08-11 Thread Karan Kishore
I'm doing something similar, only in my case I'm adding a new package in both of these locations frameworks/base/core/java/android/*mypackage* and frameworks/base/services/java/com/android/server/*mypackage* but I'm not able to find in which Android.mk file do I have to add my package, as the