Fred Quintana
89e063113c
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 16:39:50 -07:00
..
2011-08-24 16:26:43 -07:00
2011-09-15 16:39:50 -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-09-07 15:58:39 -07:00
2011-09-13 19:11:05 -07:00
2011-09-13 20:43:10 -07:00
2011-09-02 12:50:27 -07:00
2011-09-09 14:44:40 -07:00
2011-07-14 22:16:21 -07:00
2011-08-28 14:36:05 -07:00
2011-09-09 10:36:09 -07:00
2011-09-14 09:05:27 -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-13 14:28:05 -07:00
2011-09-13 20:16:32 -07:00
2011-09-14 10:10:49 -07:00