BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 06-30-2010, 01:56 AM   #1 (permalink)
New Member
Join Date: Jun 2010
Model: 8900
Carrier: vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Json data into Blackberry Listfields

Please Login to Remove!


I want to know how to populate a list field with the data that is retrieved from Json url. I have Json data in the url like so...

[{"CategoryID":13,"CategoryName":"Desktops"},{"Cate goryID":14,"CategoryName":"PC"},{"CategoryID":15," CategoryName":"Mac"}]

I want to display category names into a listfield. Plzzzz help me.It will be very helpful if i get some sample code or a tutorial of how to do it... I am in desperate need of it...
Old 06-30-2010, 07:30 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

Try google. There are dozens of examples and libraries of java JSON parsers.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.