How to get first name & last name in android?

1.2k views Asked by At

How to get user first name, last name, email id from email accounts or whatsapp accounts or any accounts?

I have tried this code

AccountManager am = AccountManager.get(context);
     Account[] accounts = am.getAccounts();

but in this code only gets account type & account name.

I want first name & last account with email id.

Plz help me. How can?

Thanks & Regards,

Nitin

0

There are 0 answers