Get data from an internet link in Android
I am making an application which takes a URL with. *.asp extension and we pass it the required parameters and get some string result using POST method. Any suggestions on how to achieve this? UPDATED: Actually I have a .net link which takes some POST Parameters and gives me a Result. How can I do that in Android? HTTPResponse should do the trick: DefaultHttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost("http://www.yoururl.com"); List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(1); <!-- number should be the amount of parameters nameValuePairs.add