I have an android library which is distributed as a jar file for inclusion in 3rd party applications.
Within the jar file is an Android Service. The service is exposed through a facade class in the jar file. Hence 3rd parties do not directly bind to the service, they just use the facade class.
I have 2 questions about this architecture:
1) If two completely separate 3rd party applications use this facade (different package names, different user ids etc..) class are two instances of the service created or is a single instance shared?
2) Does it make a difference if the service is bound directly to the 3rd party apps rather than accessed thru a facade?
P.S. http://developer.android.com/reference/android/app/Service.html Does not answer these questions.