Is there a way to get the firstname and lastname of Android phone owner? I\'ve search the internet but I have no luck. I stumbled upon this question in Stackoverlow but this
final AccountManager manager = AccountManager.get(this);
final Account[] accounts = manager.getAccountsByType("com.google");
final int size = accounts.length;
String[] names = new String[size];
for (int i = 0; i < size; i++) {
names[i] = accounts[i].name;
}