Volley library for Android parse xml response? -
i using volley library , getting response in xml.i want know how can parse response using /volley library.thank you.
stringrequest req = new stringrequest(request.method.get, url, new response.listener<string>() { @override public void onresponse(string response) { processdata(response); } }, new response.errorlistener() { @override public void onerrorresponse(volleyerror error) { // handle error response } } );
in processdata method parse response.use simple sax parser or dom parser parse response string.
Comments
Post a Comment