Basically I am an android developer,now working in windows.Could anyone please let me know if there is any way to start asynchronous task with pre post executes similar to android?
Thanks in advance :)
Basically I am an android developer,now working in windows.Could anyone please let me know if there is any way to start asynchronous task with pre post executes similar to android?
Thanks in advance :)
I'm not familiar with Android, but if you want to execute an asynchronous task, you have two options:
Without knowing more about your "task", your code environment and the launching process it's difficult to be any more targeted in my answer.
EDIT
Further investigation leads me to believe that you're talking about an in-proce callback from an asynchronous thread execution, so you're very likely after a thread (though a timer might also achieve what you want, depending on exactly what you're after). How to implement it is very different depending on the language you're using. Let us know what language you're developing in and we can give you better direction.
Your question has already been answered.
I ended up solving this issue using the 3rd party BackgroundWorker implementation mentioned in the link I provided.