问题
I am searching a solution to configure an Android mail account from a Web URL/link.
The Android Device Administration API (since 2.2) is very restrictive and does not include mail account configuration.
On iOS, there is configuration profile system. You just have to download it to configure your iOS device but what is the good way to do with Android devices ?
回答1:
There is nothing like configuration profile on Android. The whole concept of MDM on Android is very different than on iOS (which you saw already).
Take a look on these questions regarding email configuration. However, all of them are related to configuring it through the execution of code on device:
Configuring a 3rd party email account in Android programmatically
How to successfully add account to android E-mail Database?
Android Email Programmatic Setup
回答2:
if you are trying to set a user up remotely or setting up a number of users that will receive their devices straight from the shop - you can setup the users email and other setting on a phone and then download the smartswitch profile to an sd card (or other media) and then email that to the user to put onto their sd card to the import the preconfigured setting and account info to their phone. you can chose to just copy say the settings files, maybe even just the email setting. have a play. its a very useful tool.
来源:https://stackoverflow.com/questions/13011757/android-remote-or-push-configuration-profile