I have developed an application which performs some Xml parsing from a file.
If the file is too large, this conversion process takes very long during which my
screen gets dimmed.
I have been trying to put a WaitDialog while the above process takes place.
I am forcing the dialog to appear on the screen by calling:
But the dialog does not get displayed properly. It does appear on the screen but the animation gets displayed for a second only after the conversion process gets finished!!!
Is it that WaitDialog can only be displayed for an asynchronously running background process? Is there any workaround for synchronous process?
I have been searching for long but haven't found the right solution. I do not understand how to run the dialog asynchronously bcoz its not possible to make my conversion process asynchronous...
Please suggest me a viable solution.
Thanks in advance....