The AsyncTask's background thread will keep running, and so doInBackground() should run to completion. Work in publishProgress() and onPostExecute() may be delayed until the activity is resumed -- I have not tried that scenario.
On Mon, Nov 22, 2010 at 10:21 AM, umakantpatil <umakantpat...@gmail.com> wrote: > Hey, > > I just have a concern about AsycnTask. If i have one activity which > starts a async task. > Now that activity goes in background and new activity gets opened & > visible to us. > > So the async task opened by previous activity stops or it still keeps > going in background or it pauses or stops ? > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2 -- 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