[android-developers] Retrieving Data off the URL not working

2011-09-27 Thread Nimish Nayak
Hi I am trying to do a simple GET where i want to hit the URL and retrieve the Data associated with it. I am partially successful in doing this. I get the data but its in complete and i am not able to trace the reason why its so. Here is my code snippet. int iVal;char tempBuf[] = new

Re: [android-developers] Retrieving Data off the URL not working

2011-09-27 Thread Atluri Ajith Kumar
I'm not sure, but for calling external URL's we have to us HttpURLConnectionhttp://developer.android.com/reference/java/net/HttpURLConnection.html . In other way you can use httpposthttp://developer.android.com/reference/org/apache/http/client/methods/HttpPost.html . Sample