Intent intent = new Intent(android.provider.Settings.ACTION_ADD_ACCOUNT);\r
intent.putExtra(android.provider.Settings.EXTRA_AUTHORITIES, new String[] { AccountAuthenticator.AUTH_TOKEN_TYPE });\r
startActivity(intent); // although the code is here, the activity won't be created until this.onStart() and this.onResume() are finished;\r
mForcedLoginToCreateFirstAccount = true;\r
}\r
\r
Intent intent = new Intent(android.provider.Settings.ACTION_ADD_ACCOUNT);\r
intent.putExtra(android.provider.Settings.EXTRA_AUTHORITIES, new String[] { AccountAuthenticator.AUTH_TOKEN_TYPE });\r
startActivity(intent); // although the code is here, the activity won't be created until this.onStart() and this.onResume() are finished;\r
mForcedLoginToCreateFirstAccount = true;\r
}\r
\r