Hello experts,
I would like to have a screen which displays all the pre-registered e-mail accounts in an android device.
If in my device, I have pre-registered account with, say, 3 service providers(Google, Yahoo, Rediff), the screen should show these three service providers name.
When I select a particular service provider, I should be prompted to enter the login credentials of the selected provider. If the credentials match the selected pre-registered acoount, a "Success" toast need to be displayed.
I just need the basic code to kick start this; ie; (i)the code to fetch the pre-registered service providers names and (ii) how the username / password gets verified when you enter the details.
Any help in this regard would be well appreciated with points for sure.
Looking forward for your valuable support.
Best Regards,
Sree
Frankly, don't know much about Android, but found this, don't know if you've seen this code;
perhpas it could help:
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/2.2_r1.1/com/android/email/activity/MessageList.java