Android: How to get the configured email account address programmatically
I used the below code to get the configured account name Account[] accounts = AccountManager.get(this).getAccounts(); for (Account account : accounts) { Log.d("Account", "Name " + account.name); } But i need the email id of the configured Microsoft Exchange account as we can change the name of the account (it is not need to be unique). Thanks in Advance krishnan This code work properly public class RegisteredEmailAccounts extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.registered_email_account); final