BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-16-2009, 06:21 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2007
Location: India
Model: 8100
Carrier: Airtel
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question update UI while parsing xml.

Please Login to Remove!

Hi All,


I am using xml and list.


When I prase xml at the same time i want to update list which cotain data from the xml file.


Can i do this?

Also I want to know that when we parse xml, Is file gets downloaded completely or file is getting downloaded while parsing xml?


Is downloading and parsing of a file running consequently....


Any help is appriciable.


Thanks
__________________
Crazy for BlackBerry
Offline  
Old 11-16-2009, 08:19 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
When I prase xml at the same time i want to update list which cotain data from the xml file.
if you are not in event thread just get event lock using
Code:
(UiApplication.getUiApplication().getEventLock())) {  
    // UI Code here  
}
Quote:
Is downloading and parsing of a file running consequently....
Use any pull parser.
A pull parser reads a little bit of a document at once. The application drives the parser through the document by repeatedly requesting the next piece.
__________________
blog.vimviv.com
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

NEW ADVANCE 71A6071-001D CORE & COIL BALLAST KIT
$32.0
NEW ADVANCE 71A6071-001D CORE & COIL BALLAST KIT pictureBALLAST - BY GENERAL ELECTRIC ( 2 included in sale )
$14.75
BALLAST - BY GENERAL ELECTRIC   (  2 included in sale ) pictureLOT 10-GE F96T12 -2 LAMP PROLINE BALLAST-GE 74474-260IS-MV-N
$210.95
LOT 10-GE F96T12 -2 LAMP PROLINE BALLAST-GE 74474-260IS-MV-N picture( new )BODINE B70A Fluorescent Emergency Ballast 120-277 vac 60Hz loc C-6
$2.99
( new )BODINE B70A Fluorescent Emergency Ballast 120-277 vac 60Hz  loc C-6 picture HID Ballast, Philips Advance, RMH-20-K-LF
$19.0
 HID Ballast, Philips Advance, RMH-20-K-LF picture






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