0

In my application i am getting the following response from the web response. what it means? can anybody help me.

ws:response

08-29 13:19:32.604: INFO/System.out(478): {"status":"FAILED","response":null,
"reason":"Input string was not in a correct format."}
Vincent Mimoun-Prat
  • 27,630
  • 15
  • 77
  • 123
naresh
  • 10,052
  • 25
  • 78
  • 124

3 Answers3

0

This is a JSON string. You can decode it using the classes JSONObject, JSONArray, ...

Have a look at this tutorial for instance.

Vincent Mimoun-Prat
  • 27,630
  • 15
  • 77
  • 123
0

You are getting a JSON-response. Use built-in in Android sdk org.json library or some 3rd party ones (see Sending and Parsing JSON Objects)

to parse the response.

Community
  • 1
  • 1
drifter
  • 673
  • 1
  • 10
  • 23
0

This is a JSON error message. I've got a good manual for you to learn how to handle it.

Vivienne Fosh
  • 1,673
  • 17
  • 24