2012. 11. 14. 10:43


 


AccountManager mAccoutManager = (AccountManager) getSystemService(Context.ACCOUNT_SERVICE);

Account[] account = mAccoutManager .getAccounts();

for (Account data : account) {

Log.d(TAG, data.name);   // emailid@gmail.com

Log.d(TAG, data.type);   //com.google

}

Posted by hoonihoon