How to enable internet connection android emulator how to connect to the internet
|
|
|
Question / Problem
|
How to enable internet connection android emulator how to connect to the internet
|
Solution
|
Enable internet connection in android emulator I solved the problem using the steps
1. Open command prompt 2 Go to directrox android sdk directory (Ex: \android-sdk-windows\tools>") 3 Just copy and paste the following command
Hear --------- X.X.X.X - is the IP address where it will get , I just give my default gateway If you are using standalone machine give your IP 8060 - is the deafult port i used
Command ---------------- adb shell sqlite3 /data/data/com.goo gle.android.providers.settings/databases/settings.db "INSERT INTO system VALUES( 101,'http_proxy3','X.X.X.X:8060');"
once the command executed, your simmulater can connect to the internet and able to browse the web
Note: ------- If you having any problem launch the android emulator before executing this command.
|
Applies to |
|
Android for developer
,Core Java
|
Rank It |
|