Android Question [SOLVED] XmlSax and ProgressDialogShow2

clarionero

Active Member
Licensed User
Longtime User
Hi.

I'm parsing an XML with XmlSax library. It works perfectly, but I would like to put a ProgressDialogShow to indicate that the XML is being processed.

Code: Copy
ProgressDialogShow2("Processing the data...",False)
parser.parse(ConvertStringToInputStream(sDatosXml), parser)
ProgressDialogHide

If I run the application the message is not displayed.
If I put a breakpoint in ProgressDialogShow2 and go step by step with the debugging the message is displayed and everything works ok.

Any ideas?

Thank you

Rubén
 
Code: Copy
ProgressDialogShow2("Processing the data...",False)
sleep(50)
parser.parse(ConvertStringToInputStream(sDatosXml), parser)
sleep(50)
ProgressDialogHide
?
 
Upvote 0
Back
Top