Did you remember to declare the INTERNET permission in the
Manifest.xml file?

Can you talk to the internet via the browser in your emulator?

Your pseudo-code looks okay to me.

On Jul 24, 7:48 am, ArtworkAD <[email protected]> wrote:
> Hi all,
>
> I just want to make a http request...thats all:
>
>     String url = "http://www.google.de";;
>     DefaultHttpClient client = new DefaultHttpClient();
>     HttpGet method = new HttpGet(url);
>     HttpResponse res = client.execute(method);
>
> I started the debugger and viewed the params of client, all of them
> are set to null. res var has a lot of 'null' too and execute has no
> result
>
> I do not see what is wrong...please help

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to