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.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD
APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD   picture

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