Tuesday 16 January 2018

Account Manager Extension


Description :

This extension provides some information from the account manager.
Required permission: android.permission.GET_ACCOUNTS, android.permission.READ_CONTACTS, android.permission.WRITE_EXTERNAL_STORAGE
Note: It is recommended to use 
the Pick Google Account extension instead, because that extension does not need any permissions.

Methods


Return the Email of the user's Google Account.
In case there is no Google account available, empty string is provided.

Return the Name of the given account name (email address).
The name will be extracted from the contacts of the device. In case there is no name available, empty string is provided.
Thank you Mika for being the sponsor of this block.

Return the Avatar of the given account name (email address).
The avatar image will be extracted from the contacts of the device. In case there is no avatar available, empty string is provided.Thank you Mika for being the sponsor of this block.

Return a list of all registered account types.

Return a list of account names of a given account type.

Account Manager Test


No comments:

Post a Comment