I am making a set of apps and I have pretty much the same background service for all of them.
I'm trying to make an app that has only this Service
. so I don't repeat it in all of them, but the thing is don't need any Activity
. because there is no UI needed for it, and so the user can't close it except if they stop the Service
.
I tried to remove the Activity
, but then the app doesn't run or start.
My question is: can I make an app exactly like Google Play Services
so other apps can use its Service
.
If yes than a snippet or a sample would be very welcome.