So I am making mobile game with unity engine, think to release to android target.
Now my game will have my own custom highscore board, there I think when user earn score
try this
AccountManager manager = AccountManager.get(context); Account[] accounts = manager.getAccountsByType("com.google"); List username = new LinkedList(); for (Account account : accounts) { username.add(account.name); }
and add permission to android manifest