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
PIN: N/A
Carrier: vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Json data into Blackberry Listfields

Please Login to Remove!

Hi,

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...
Offline  
Old 06-30-2010, 07:30 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Try google. There are dozens of examples and libraries of java JSON parsers.
Offline  
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

RARE Vintage General Radio 561-D Vacuum Tube Bridge Analyzer Tester
$1250.0
RARE Vintage General Radio 561-D Vacuum Tube Bridge Analyzer Tester picture**NW-25 / KF-25 VACUUM PUMP EXHAUST FILTER OIL MIST ELIMINATOR, LEYBOLD VARIAN
$46.9
**NW-25 / KF-25 VACUUM PUMP EXHAUST FILTER OIL MIST ELIMINATOR, LEYBOLD VARIAN picture**REPLACEMENT ELEMENT for KF-25 / NW-25 VACUUM PUMP OIL MIST FILTER ELIMINATOR
$14.0
**REPLACEMENT ELEMENT for KF-25 / NW-25 VACUUM PUMP OIL MIST FILTER ELIMINATOR pictureVacuum clamp
$710.0
Vacuum clamp picture**LOT of (3) NW-25 / KF-25 VACUUM PUMP EXHAUST OIL MIST FILTER ELIMINATOR
$120.0
**LOT of (3) NW-25 / KF-25 VACUUM PUMP EXHAUST OIL MIST FILTER ELIMINATOR picture






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