Fred Quintana
1121bb5e6f
Add a generic account chooser/add account flow for apps.
The activity is launched as follows:
Account account1 = new Account("account1@gmail.com", "com.google")
Account account2 = new Account("account2@gmail.com", "com.google")
ArrayList<Account> accounts = new ArrayList<Account>();
accounts.add(account1);
accounts.add(account2);
String[] accountTypes = new String[]{"com.google", "com.android.exchange"};
Bundle addAccountOptions = null;
Intent intent = AccountManager.newChooseAccountIntent(account1, accounts,
accountTypes, addAccountOptions);
startActivityForResult(intent, 0);
Change-Id: I05a467bdc3552a2e39397b0182879351f4324389
2011-09-15 17:40:43 -07:00
..
2011-08-24 16:26:43 -07:00
2011-09-15 17:40:43 -07:00
2011-09-07 10:51:00 -07:00
2011-09-13 17:51:08 -07:00
2011-08-17 11:37:58 -07:00
2011-09-08 15:26:53 -07:00
2011-09-13 17:51:08 -07:00
2011-08-31 14:17:55 -07:00
2011-04-07 19:23:05 -07:00
2011-05-16 11:53:31 -07:00
2011-09-14 18:18:11 -07:00
2011-09-14 21:13:06 -07:00
2011-09-13 20:43:10 -07:00
2011-09-02 12:50:27 -07:00
2011-09-14 16:04:15 -07:00
2011-07-14 22:16:21 -07:00
2011-08-28 14:36:05 -07:00
2011-09-14 21:44:19 -07:00
2011-09-14 14:46:20 -07:00
2011-09-09 13:02:43 -07:00
2011-09-14 16:51:05 +01:00
2011-09-09 17:01:31 -07:00
2011-08-25 18:43:37 -07:00
2011-09-14 22:33:54 -07:00
2011-09-15 11:08:00 -07:00
2011-09-14 22:33:54 -07:00