Bonsoir ,
je suis débutante en dev pour android , je dois réaliser une application
android qui accède aux services web Rest sous le format json . je me suis
arrivée à faire un exemple de service qui a l output suivant ( json)

{"todo":[{"address":"tunis","city":"aaa","ID":"1","latitude":"13.3","longitude":"15.0","postalCode":"222"},{"address":"france","city":"ccc","ID":"2","latitude":"11.3","longitude":"18.0","postalCode":"555"}]}

l'étape suivante consiste à parser l url contenant les données json à
travers android et afficher les var des une liste.

 Je me suis plantée dans cette étape malgré que j'ai suivi un tuto de
a jusqu'à z .l'exception est :03-18 20:05:00.762: E/JSON Parser(476):
Error parsing data org.json.JSONException: Value
<html><head><title>Apache of type java.lang.String cannot be converted
to JSONObject

Prière de m'aider à résoudre ce problème , je m'arrive pas à
contourner le problème :(

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to