Hi all,
I'm referring to the android sample, ContactManager for API level 15.
1) ContactManager.java => getContacts()
Is there any way that I could filter out contact only from sim card or
phonebook ?
2) ContactAdder.java =>
AccountManager.get(this).addOnAccountsUpdatedListener(this, null, true);
I believe that this will pass in all available account on the device
Account[] accounts = AccountManager.get(this).getAccounts();
for (Account account : accounts) {
String possibleEmail = account.name;
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en