registerService("your-service", new ServiceFetcher(){
public Object createService(ContextImpl ctx) {
return MyManager.MyServiceManager();
}});
Try above thing in your ContextImpl.java for your manager class. I hope it
will help you
Thanks
On Thursday, 21 August 2014 12:09:53 UTC+5:30, Karan Kishore wrote:
>
> 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 MyServiceManager
>> return new MyServiceManager(service);
>
> ^
>
> How can I resolve the dependency of my new class lying at
> 'frameworks/base' inside
> 'frameworks/base/core/java/android/app/ContextImpl'.
>
> I was trying to follow the same process as how it's done for AOSP location
> project.
>
> PS: I'm building up on android-4.2.2_r1.2b version.
>
--
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.