summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/13/changes
diff options
context:
space:
mode:
authorFred Quintana <fredq@google.com>2011-09-14 23:19:35 -0700
committerFred Quintana <fredq@google.com>2011-09-15 17:40:43 -0700
commit1121bb5e6ff20a2c694225300507ed486e04fea2 (patch)
tree862aaf04773ca62fc31eb97ee0f4ac00ec765041 /docs/html/sdk/api_diff/13/changes
parent070e7ee285792a2cc59e7ed1db17832e8c829275 (diff)
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
Diffstat (limited to 'docs/html/sdk/api_diff/13/changes')
0 files changed, 0 insertions, 0 deletions