Whereas i know with GET request data is send as part of url and JSONObject
is used with POST.

On Wed, May 18, 2011 at 10:58 AM, Rocky <[email protected]> wrote:

> Hi my code (red colored) is not responding, saying that time out,
> please let me know where i'm doing wrong.
>
> // Prepare a request object
>         HttpGet httpget = new HttpGet("http://10.91.28.203";);
>
>         // Execute the request
>         HttpResponse response = null;
>
>         JSONObject json = new JSONObject();
>         System.out.println("result = " + result);
>         System.out.println("json object " + json.toString());
>
>         try {
>             System.out.println("inside try 1");
>             response = httpclient.execute(httpget);
>
> --
> Thanks & Regards
>
> Rakesh Kumar Jha
>
>
>  --
> 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

-- 
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