When I make a call to
AccountManager.get(this).getAuthTokenByFeatures(Constants.ACCOUNT_TYPE, Constants.AUTHTOKEN_TYPE, null, this, null, null,
new AccountManagerCallback<Bundle>()
This is set up in my implementation for AbstractAccountAuthenticator in the overridden addAccount method
If no accounts are set up the the activity I have for adding a new account is used which is great, however if there are multiple accounts I see a list of accounts that I can choose from. I wish to customise this list via an AccountsListActivity that I have yet to create to more closely represent the Accounts & Sync option built in to the Android System.
Is it possible to set up an activity to handle what happens when a list of accounts is returned in the same way and how would I do that? I know how to write the class I just need to know how to go about getting the class called instead of a plain list of account names
If not what alternatives do I have?