You should move the heavyweight lifting stuff to a Service if you don't want it to be stopped. Running background music is something that a background service should take care of. Here's another thread response from Dianne- http://groups.google.com/group/android-developers/browse_thread/thread/112189a9893a6462/f66bf1a5848c2c45?hl=en&lnk=gst&q=background+music#f66bf1a5848c2c45
Then again, I don't know all your requirements, so I will stop at that. Chander On Jan 26, 5:41 pm, Stoyan Damov <stoyan.da...@gmail.com> wrote: > On Mon, Jan 26, 2009 at 11:39 AM, android_soft <cspeche...@gmail.com> wrote: > > > Hi Damov, > > Your activity will only be PAUSED if you use Dialog Theme for a > > PreferenceActivity. For other Themes, it is PAUSED and STOPPED, but > > not > > destroyed or killed. So if you want to restore the state you can do it > > in onResume... so no need to use Theme.Dialog in your case unless it > > looks good on your app. > > > -Chander > > Yes, I understand that - the thing is that I don't want my activity to > be stopped, because it's quite heavyweight, might be playing > background music, etc. so I'm left with the dialog theme. > > Cheers, > Stoyan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---