How To Get Active Account Id In Android Multi User
Is there any chance to get switched(active) account ID in android(L) multi user. Secure.getString(getContentResolver(),Secure.ANDROID_ID) this one returning first owner android ID
This class provides access to all registered user accounts in device. AccountManager generates the auth tokens for different applications and caches it. It is also responsible for periodic check for the validity of auth tokens.
Please go through below Link. Hope this helps you .
Post a Comment for "How To Get Active Account Id In Android Multi User"