I'm using a service inside a library project.
When I'm starting the service (using context.startService(service)
) the onStart()
of the service never reached. I'm doing something wrong, and I have some lead questions:
In which manifest file I should declare the service (library project or the APK project) ?
Does it have any connection to remote services and AIDL? I'm not so sure about it but I found this answer Android service in library and it seems wired that I have to create AIDL in the same application where I don't have any Inter Process Communication (IPC).
I tried to extend the library service in my APK project and declare it in the APK's manifest file - but still the onStart() of service was never reached.
Thanks.