lol
I didn't notice that there is a comprehensive explanation in this
website
Thank You
On 1月3日, 上午11時59分, Kumar Bibek coomar@gmail.com wrote:
AsyncTask gives you more control over how you background work is done.
You get callbacks for , progress, completion of action, etc.
You would
If the service is coupled to your UI, I think AsyncTask would be a
better solution. Look at the examples for the same.
But, if the service is completely separate from the UI, then you have
to bind to the service, and then check it's progress.
Thanks and Regards,
Kumar Bibek
On Jan 2, 4:54 pm,
I used to implements the progress of downloading sth in a worker
thread,
and new a thread when u choose the corresponding option in the menu
( overriding onOptionsItemSelected funciton)
yet the UI will be frozen once you choose the download option in the
menu
Is using asynctask instead the
AsyncTask gives you more control over how you background work is done.
You get callbacks for , progress, completion of action, etc.
You would also get some etra hooks, like Pre-execute and Post-
execute.
http://android-developers.blogspot.com/2009/05/painless-threading.html
Thanks and Regards,
4 matches
Mail list logo