I want to parse a php web service using my android application, I create a connection to the url like this
InputStream stream = null ;
URL url = new URL(url);
HttpURLConnection conn;
conn=(HttpURLConnection)url.openConnection();
conn.setRequestMethod("POST");
conn.setReadTimeout(30000);
stream =conn.getInputStream();
after getInputStream
, I am using pull parser to parse xml data, but my problem is the web service requires to submit the form to get xml data. How can I click this button from my java code? Is this possible or do I need to change the web service ?
I must change the web service and make it GET and POST, then i my code I must put