I have some code not shown here that pulls an IMEI number in JSON format from a database via a WCF and I now have it in the following format which I can display,
{"getIMEIResult":"268003456767887"}
Via,
jsonResponse = new JSONObject(new String(buffer));
IMEICheckResponse = jsonResponse.toString();
And then Toast IMEICheckResponse to get
{"getIMEIResult":"268003456767887"}.
How do I extract 268003456767887 from the JSON object and put it into the IMEICheckResponse string?
Cheers,
Mike.
Its very simple,