How can handle result of HttpResponse in android?
<pre><code>I am working on android. i am sending username and password using HttpPost and getting userid.

**this is my code for my operation:-**
HttpClient hc = new DefaultHttpClient();
            HttpPost post = new HttpPost(
                    "http://192.168.1.214/sample/dologin.php?id="+strUID+ "&amp;password="+strPass);

            HttpResponse rp = hc.execute(post);

            if (rp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {

                String userID = EntityUtils.toString(rp.getEntity());
                Log.v("Login response", "" + userID);


this is my output in DDMS 
**Login response(686): ([{"id":"5"}]);**

but i need 5 as a result. so i can use this result 5 in my next operations. please tell me what should i do to extract 5 from the string ([{"id":"5"}]);
</code></pre>

<p>Thank you in advance...</p>
