What are the checkpoints in creating an IntentService into Library Project in order to use it in other Android Application Project?
My library project has different package.开发者_运维技巧
For example:
Library Project: com.locationplatform.position
Application Project: mobile.app
Any guidance is appreciated.
It's possible to invoke a service in the library project from the application project. The only trouble is that the Manifest files doesn't merge. You will have to add the permissions for the activities, services in the library project manually in the application project manifest. Also don't forget to give the absolute package path for the services in the library project. Check this question too. Library Project does the manifest file merge?
Edit. Setting up Library projects in Android.
精彩评论