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

Eaton Thyristor 55-285-0122 NEW (LOC1155)
$79.99
Eaton Thyristor 55-285-0122 NEW (LOC1155) pictureT2306B RCA TRIAC 200V 30A Thyristor TO-5 - NOS Qty 1
$4.99
T2306B RCA TRIAC 200V 30A Thyristor TO-5 - NOS Qty 1 pictureHEP-R1223 Motorola SCR Thyristor TO-220 Gold Leads - NOS Qty 1
$4.99
HEP-R1223 Motorola SCR Thyristor TO-220 Gold Leads - NOS Qty 1 pictureThyristor 40RCS30 - SCR
$17.0
Thyristor   40RCS30 - SCR  pictureUNMARKED 7992A55H01 THYRISTOR NSNB
$19.95
UNMARKED 7992A55H01 THYRISTOR NSNB picture






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