android - How to use HTTP POST for getting xml parsed response -


i using sax xml parsing parsing url how use http post method in code bcoz in code never use http post or method .so how use http post getting web servises parsed response.means pls can stuff in code how use http post method.. code below..

/** called when activity first created. */ @override public void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate); try {          string temp =             log.i("temp url..",temp);         url sourceurl = new url(temp);          xr.setcontenthandler(myxmlhandler);         xr.parse(new inputsource(sourceurl.openstream()));      }       catch (exception e) {      system.out.println("xml pasing excpetion = " + e);     }      siteslist = xmlhandlerfiltersearch.siteslist;      array_galleryname = new string[siteslist.getlatitude().size()]; 

} responses in adv.

pls answer question waitng pls psl

this answer both http-post , sax parser

android: parse xml string problems


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -