There has been lot of discussion how to use the same user ID for two applications.
I have a little bit strange situation where I want to provide two user IDs for one application. For example, from the same application, activity 1 and 2 will use a different user ID, or a service will run on a different user ID then rest of the application.
Any thoughts?
This is generally not possible unless you want to split your application into two packages (
.apk
files).See the documentation here.