How to enable the internet connection in android emulator?
I am having the code to display the google map in android emulator.But in my emulator here I am using google device AVD as a emulator and I run the program in my eclipse platform.
How To enable the internet permission in emulator.But I already added in my manifest file for internet permission..internet is not working in emulator to display the map...
You are asking three questions in one which is against the policies of Stackoverflow. And all three questions can be answered by mere browsing stackoverflow.
1)how to show Google Map in android emulator device?
This might not work since emulator lacks some hardware present in actual device. So its a better option to test in a real device using GPRS or Edge or wifi. Most importantly USE GOOGLE MAP API IN EMULATOR AND NOT DEVICE AVD.
2)How to enable the internet connection in android emulator?
Check whether you can use the browser present in emulator.(www.google.com). If not check this link.
3)How To enable the internet permission in emulator?
Along with this use,
ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATIONandACCESS_NETWORK_STATEin the<uses-permission>tag of your manifest. Check this link for more permission details http://developer.android.com/reference/android/Manifest.permission.html