Discussions
Activity
Sign In
How it works
Airtime Support
JQuery widgets more mobile app
Vote Up
0
Vote Down
Eric Wanyoike
July 2012
Posts: 2
Member
Hi. We are trying to get our mobile app android to get schedule information daily and weekly. but run into this error
Exception in thread "main" org.json.JSONException: A JSONObject text must begin with '{' at character 1
at org.json.JSONTokener.syntaxError(JSONTokener.java:410)
any help please
2 Comments
sorted by
Votes
Date Added
Vote Up
0
Vote Down
Eric Wanyoike
July 2012
Posts: 2
Member
All we need is a way to remove the ( in the start ) at the end
http:
//localhost/api/live-info/?callback
Vote Up
0
Vote Down
Martin Konecny
July 2012
Posts: 1,860
Member
Please look up
http://en.wikipedia.org/wiki/JSONP
You will need to use this parser instead of plain JSON because of the same-origin policy security measure implemented in most browsers.
Airtime Pro Hosting:
http://airtime.pro
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339