Hi i am working on web service application in android.i need a class that handle all exceptions and send receive json data using URL with parameters.please help me any one with good example.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a snippet from a helper class I wrote to send data via POST.
And to get the response…
Classes used in this snippet are in
org.apache.http.*package.As for JSON,
JSONObjectwill suffice.There are examples on how to use it properly everywhere on the web. Just google it.