On Tue, Jan 31, 2012 at 8:01 AM, ColletJb <collet...@gmail.com> wrote:

> Can anyone help me with this ?


Instead of background thread you probably want a background service, to
which you bind and unbind as your details activity comes and goes. So the
download logic and state is stored in the service and reflected in the
Activity when the user comes back to it. Your Market example does this -
you'll see the download / install progress as a notification as the
(assumed) background service is doing its thing.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to