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

Rockwell Samsung SI_20P4E7 Moscon E7
$379.0
Rockwell Samsung SI_20P4E7 Moscon E7 pictureSamsung RC1-04BX1 Controller
$339.0
Samsung RC1-04BX1 Controller pictureRockwell Samsung NX70_CPU70P1 PLC
$199.0
Rockwell Samsung NX70_CPU70P1 PLC  pictureRockwell Samsung SI_20P4E7 w/o Cover
$199.0
Rockwell Samsung SI_20P4E7 w/o Cover pictureSamsung CSM-04BB2ANT3 DC Brushless Motor
$129.0
Samsung CSM-04BB2ANT3 DC Brushless Motor picture






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