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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.