Udinic / AccountAuthenticator

812 stars 216 forks source link

Can I run same service under multiple users with this? #7

Open nikhilbchilwant opened 10 years ago

nikhilbchilwant commented 10 years ago

I'm building a service. Now, I want to make two users for app: 'admin and other'. Admin will start the service. I want this service to run even after admin logs out. Is it possible? If possible, I want to add: this service will create some notification periodically. I want to show those notifications to all users but only admin user should be able to stop the service. It will be better if I'm able to hide it from 'other' user. There is a feature for multi-user in Android 4.4 but they haven't mentioned specifically whether this can be done or not. There are apps like switch me but again, they do not mention explicitly for this. Any code, app or anything will be very helpful