Android Programming
New Android Programming Techniques, Design Concepts, Sample codes, Interview questions, Android UI
Home
Android Programming
Android UI
Android Tools
Java
Kotlin
C/C++
Interview Questions
Current Android Release version:
Version Code: Pie
Version: 9
API level: 28
Showing posts with label
Android Accounts
.
Show all posts
Showing posts with label
Android Accounts
.
Show all posts
How to get List of Accounts configured in device
private ArrayList<AccountInfo> mAccountList = null;
Account[] mAccount = AccountManager.get(this).getAccounts();
for (Account account : mAccount) {
AccountInfo list = new AccountInfo(account.name, account.type);
mAccountList.add(list);
}
Older Posts
Home
Subscribe to:
Posts (Atom)