3

Kindly read every thing and please help me out friends.

I know there are many posts regarding this. I am totally fed up doing all the steps that are insisted in the web sites. And please friends Internet Issue in android emulator need your help. My problem is slightly different.

My android sdk is android-sdk-linux_x86 I am ubuntu 10.04 lucid lynx user. I use wlan0 and my proxy is http://192.168.3.254:8080/. My Android Platform is ANDROID 2.2

New to android.

My issue is i got internet when i installed android emulator but afterwards i am not getting. Friendssss.... Please help me. I am banging my head since 3 days. Please kindly help. i have done this Set the path"/home/sindhu/android-sdk-linux_x86/tools","/home/sindhu/android-sdk-linux_x86/platform-tools/ in ~/.bashrc file in root and normal mode

adb works fine. $/home/sindhu/android-sdk-linux_x86/tools/emulator -avd MyAndroid -http-proxy http://192.168.3.254:8080/ from my command line / terminal.

I am in bad need of help. I even did this. After emulator starts i open settings->Wireless and Networks->MobileNetworks->Clicked on Data Roaming then I created a new APN for myself.

But still no use !!!!!!!!!!!

Thank You, Sindhu

Community
  • 1
  • 1
sindhu
  • 31
  • 1
  • 5
  • Has it been working with a direct internet connection and now that you use a proxy it is not working anymore? – Dyonisos Sep 08 '11 at 11:49
  • @Dynosios : It was working when i started my emulator for the first time after installing. But later it did not work.I have done all the setting in my system to connect to internet. So i am not knowing anything. Kindly help – sindhu Sep 08 '11 at 12:24
  • @user370305 Basically my project needs this. # Running rsync command inside android program # Accessing internet inside android program # Copying state info of applications to some remote system. – sindhu Sep 08 '11 at 12:25
  • try to use http post within your application for sync it with remote system. and in http post's url give the your url of 192.168.3.254:8080. – user370305 Sep 08 '11 at 12:30
  • I dint get you. Can u elaborate – sindhu Sep 08 '11 at 12:37
  • C basically i installed rsync which need ssh to conenct to remote system. So to connect to remote system i need internet. I installed ConnectBot. It is of no use.No internet. – sindhu Sep 08 '11 at 13:34
  • You also need to select your new APN as the active one - did you remember that? – Ken Y-N Jul 01 '13 at 03:32

3 Answers3

1

Did you try setting the proxy values in the APN itself? One other thing that most people forget is saving the settings after you change the APN values.

1

I think if your developing system has a internet connecton activated then you do not need to do extra setting for your emulator's internet.

user370305
  • 108,599
  • 23
  • 164
  • 151
  • Ya thanks for the reply. First i got the internet directly. But now i dont know whats wrong . I am not getting. – sindhu Sep 08 '11 at 10:25
  • can you use the internet directly in your application.? means you are work on android application in which you can not connect to internet? – user370305 Sep 08 '11 at 10:46
  • No presently, I dint write any application. I am just doing from terminal only. And my system works fine with internet but not the emulator – sindhu Sep 08 '11 at 10:54
  • can you tried your emulator's inbuilt browser? check it, give any url for checking connectivity.. – user370305 Sep 08 '11 at 11:10
  • ya i checked it from there only. I am not getting it.Where else can i check? Thanks – sindhu Sep 08 '11 at 11:11
  • try to start your emulator and then write any url in its browser. if its display the page of website then its running normally. – user370305 Sep 08 '11 at 11:50
  • Its not running my friend. It is the main issue – sindhu Sep 08 '11 at 12:22
  • If you have a proxy, as the OP does, you do need to set the APN proxy. – Ken Y-N Jul 01 '13 at 03:30
0

It might possibly be your DNS settings. Have a look at the answer to this question of mine Upgraded to SDK 2.3 - now no emulators have connectivity. Setting the DNS to 8.8.8.8 fixed it for me, albeit in Windows not Linux.

Community
  • 1
  • 1
NickT
  • 23,844
  • 11
  • 78
  • 121