0

I'm developing an android app where I need to connect to some server & download data from the server using http get

it works perfect on 2.3.3 emulator

but I test on 3.2 it works as if there's no connection ... any help ?

2
  • Can you post the exact code you are using for HttpGet? Nov 25, 2011 at 1:16
  • are you able to open any website using browser?
    – Pawan
    Nov 25, 2011 at 6:26

2 Answers 2

0

In Android Emulator's setting set the IP of your system

1.Click on Menu 2.Click on Settings 3.Click on Wireless & Networks 4.Go to Mobile Networks 5.Go to Access Point Names 6.Here you will Telkila Internet, click on it. 7.In the Edit access point section, input the IP and 8080 Proxy

Hope this will work

0

I Found the solution actually 3.x Android OS doesn't allow to make network operations in the main Thread so I had to make multithreading using AsynTask

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.