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.