How can i configure gmail in Android emulator?
Just as you do it on any android phone, remember the emulator will always try to behave as a regular device, so i leave you some screenshot to help you out:
Then you just set your email and password.
Update
Seems that you are getting a "Unable to open connection to server.", please do the following:
- Check if you can browse with your emulator
- if above is true then try:
email username@gmail.com
Password: ******
And on next you'll see a configuration where you can change the server change it to
Server: m.google.com
Let me know!
You can also see the following step by step guide-
http://www.androidaspect.com/2012/06/how-to-send-email-from-android-emulator.html
How to install email client on emulator
Open the Email app, and configure an account with it. Then you will be able to send email intents.
How do I register my Google Account in the AVD android emulator running 2.1 Google api level 7?
As CommonsWare says:
I do not believe that was supported for Android 2.1. Note that Android
2.1 is on only 2.2% of Android devices, as of the February 2013 dashboard
Accessing Gmail content provider on Android emulator?
How do I get the Gmail content provider on the emulator?
You don't. Gmail is a commercial application, distributed on devices, not the emulator. You are welcome to test this app on a device that has Gmail on it, though.
why cannot an emulator send email in android
This migh be helpful Android Email Intent
If you are using an emulator, you’ll
need to configure the email client. If
the email client is not configured, it
will not respond to the Intent we’ll
be discussing. If you want to see the
chooser in action, you’ll need to
configure a device using multiple
messaging applications, such as the
Gmail application and the Email
application.
But using a phone might be way better and easy for sure.
Related Topics
Two Main Activities in Androidmanifest.Xml
Obtain Root Access via Su on the Android Emulator
How to Clear the Volley Cache Automatically
How to Create Android Project with Gradle from Command Line
Widgets Don't Respond When Re-Added Through Code
What Features Do Progressive Web Apps Have VS. Native Apps and Vice-Versa, on Android
How to Make Facebook's App New Menu on Android
Listview: Textview with Linkmovementmethod Makes List Item Unclickable
Fragmenttransaction Animation to Slide in Over Top
How to Create Drawable from Resource
Read All Sms from a Particular Sender
Android: HTML Anchor Link Works Only Once in Webview
Fragment's Onsaveinstancestate() Is Never Called
Android: How to Return Async JSONobject from Method Using Volley
How to Zoom + Crop a Image and Display the Croped Image on Imageview
Splash Screen While Loading a Url in a Webview in Android App