I'm new to Android development and I couldn't find this in the Dev Guide.
I would like to create a background service so that any other app could connect to it and get some data from it. I saw android.app.Service, but it seems that it only allows other apps to ping the service, it doesn't allow them to register for some specific events. I had in mind something like the built in LocationManager and its addProximityAlert or even requestLocationUpdates.
Is anything like this possible with the existing sdk?
Hi and welcome to android development. I hope you enjoy your stay :D. About your question:
What you are asking is done with a Service. If you want apps to register for events what is usually done is the following:
I would like to know what you are trying to do to give you further assistance.
maybe this sample could help you: RemoteService.
This is the description from android developer site: