Possibly a real connection error?

The 10.* range is for private subnets, if the server is on your company's internal network, then it won't be visible through the phone's mobile data connection (as that would be coming from the outside).

-- Kostya

18.05.2011 14:33, neha jain ?????:
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] <mailto:[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]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:android-developers%[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


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

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