Its a JSONArray and i got it. Thanks Mark Murphy On Tue, Jan 10, 2012 at 6:03 PM, Mark Murphy <mmur...@commonsware.com>wrote:
> On Tue, Jan 10, 2012 at 7:10 AM, Robin Thapa <librain.ro...@gmail.com> > wrote: > > Glad it helped you but that piece of code is not helping me, > > I have an error which says "A JSONObject text must beging with {". > > That means you are not passing a JSON object to the JSONObject. > JSONObject parses JSON objects. If your JSON is an array, pass it to > JSONArray. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training in NYC: http://marakana.com/training/android/ > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Robin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en