The variable accounts will now hold an array of all the google accounts ever used on the phone. So to get the first account/email address registered on the phone try something like
protected AccountManager accountManager; accountManager = AccountManager.get(getApplicationContext()); Account accounts = accountManager.getAccountsByType("com.google");
konto = accounts.name;You can then use the account name/email address for login, shoutbox name, etc. etc.