Hi ,
I am facing the same issue, let me know the fix for this without using
BasicResponseHandler
Thanks
On Nov 16, 1:44 am, "Jonas Petersson" wrote:
> Mark Murphy wrote:
> >> Mark, I may have found the problem, but not sure how I can fix it. The
> >> log msg for the responseBody is below. Shoul
Mark Murphy wrote:
>> Mark, I may have found the problem, but not sure how I can fix it. The
>> log msg for the responseBody is below. Should it be the UTF_8 param?
>> thanks
>> {"hey": "guy","anumber": 243,"anobject": {"whoa":
>> "nuts","anarray": [1,2,"three"], "more":"stuff"},"awesome":
>>
> Mark, I may have found the problem, but not sure how I can fix it. The
> log msg for the responseBody is below. Should it be the UTF_8 param?
> thanks
> {"hey": "guy","anumber": 243,"anobject": {"whoa":
> "nuts","anarray": [1,2,"three"], "more":"stuff"},"awesome":
> true,"bogus": false,"mea
Mark, I may have found the problem, but not sure how I can fix it. The
log msg for the responseBody is below. Should it be the UTF_8 param?
thanks
{"hey": "guy","anumber": 243,"anobject": {"whoa":
"nuts","anarray": [1,2,"three"], "more":"stuff"},"awesome":
true,"bogus": false,"meaning": null,
Mark, Thanks for the link, a lot of good examples. I try to use
BasicResponseHandler but I am still getting the same error. Could it
be something with Eclipse?
org.json.JSONException: A JSONObject text must begin with '{' at
character 1
DefaultHttpClient client=null;
HttpClient httpclient = new De
TJ wrote:
> Mark, thanks for the help But, I an also getting the same error msg
> when I try pulling the JSON file from twitter.com.
> thanks for the help.
>
> String url = "http://twitter.com/statuses/user_timeline.json?
> screen_name=huskyr";
> HttpClient httpclient = new DefaultHttpClient();
>
Mark, thanks for the help But, I an also getting the same error msg
when I try pulling the JSON file from twitter.com.
thanks for the help.
String url = "http://twitter.com/statuses/user_timeline.json?
screen_name=huskyr";
HttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new Http
First, as Mark said, you have an extra curly bracket. You also have
switched the ending square bracket with the ending curly bracket.
The error might be indicating you are trying to access "Result" as a
JSONObject, as opposed to the JSONArray that it is.
Or it is a side effect of the mal-formed JSO
8 matches
Mail list logo