hi all,
 what is the default value for the account name and account type in
contacts.
when i tried the code


Account[] accounts = AccountManager.*get*(*this*).getAccounts();

*for* (Account account : accounts) {

String possibleEmail = account.name;

Toast.*makeText*(getApplicationContext(),
possibleEmail,Toast.*LENGTH_LONG*).show();


}

No account is retrieved.

How to add new account to account database. please help me in this
issue.ASAP




-- 
ADHAVAN.J

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to