Reputation: 9487
I'm creating an Android application that has a requirement to send and receive email.
I'm wondering if it is possible to retrieve the email addresses (and IMAP/POP3/Exchange configuration) that the user has entered on their phone?
It would be nice to not have the user set up their email accounts again (and me not have to develop the config screens).
Upvotes: 1
Views: 201
Reputation: 1007296
At most, you might be able to get some email addresses via the account management system, if you have the requisite permissions, and for those email apps that happen to use the account management system. You will not be able to get passwords, for obvious reasons.
As far as "IMAP/POP3/Exchange configuration", you cannot get that for Gmail, or the AOSP email app. If third-party apps happen to have a secured API for exposing that information, you can use that, though I suspect few offer this.
Upvotes: 2