Código:
02-13 18:45:40.187: E/JSON Parser(1517): Error parsing data org.json.JSONException: Value [email protected] of type java.lang.String cannot be converted to JSONObject 02-13 18:45:40.187: D/Create Response(1517): {"message":"Required field(s) is missing","success":0}
Y esto es parte del codigo que tengo..
Código:
Espero me puedan ayudar, gracias de antemano... String name = mail.getText().toString(); List<NameValuePair> params = new ArrayList<NameValuePair>(); params.add(new BasicNameValuePair("nombres", name)); JSONObject json = jsonParser.makeHttpRequest(url_recuperapass, "POST", params); Log.d("Create Response", json.toString()); try { int success = json.getInt(TAG_SUCCESS); if (success == 1) { mi codigo...