[android-developers] Re: How can I catch screen orientation change in onPause()?

2010-05-09 Thread Lenny
Maybe what you really want is to tell Android that your app will handle orientation changes on its own, rather than messing around with onPause http://developer.android.com/reference/android/app/Activity.html#ConfigurationChanges On Apr 23, 10:01 am, Thom Shutt wrote: > Specifically, I need a way

[android-developers] Re: How can I catch screen orientation change in onPause()?

2010-04-24 Thread JP
On Apr 23, 12:43 pm, Thom Shutt wrote: > I have a MediaPlayer playing music in a local Service andfor all other > pause/resumes, I pause/resume the MediaPlayer. I need the music to > carry on playing for a change in orientation though. Were you pointing > to something in particular in the Activi

Re: [android-developers] Re: How can I catch screen orientation change in onPause()?

2010-04-24 Thread ~ TreKing
On Fri, Apr 23, 2010 at 4:53 PM, Thom Shutt < thomshuttimper...@googlemail.com> wrote: > Hmmm thanks for your help, isFinishing() definitely seems like it should > work - the change in orientation heads off to onDestroy() but for some > reason isFinishing() still returns false when I put it inside

[android-developers] Re: How can I catch screen orientation change in onPause()?

2010-04-23 Thread Thom Shutt
Hmmm thanks for your help, isFinishing() definitely seems like it should work - the change in orientation heads off to onDestroy() but for some reason isFinishing() still returns false when I put it inside onPause() and even if I put it inside onDestroy(). On Apr 23, 9:37 pm, "~ TreKing" wrote: >

Re: [android-developers] Re: How can I catch screen orientation change in onPause()?

2010-04-23 Thread ~ TreKing
On Fri, Apr 23, 2010 at 2:43 PM, Thom Shutt < thomshuttimper...@googlemail.com> wrote: > I need the music to carry on playing for a change in orientation though. > I see. > Were you pointing to something in particular in the Activity documentation? > Yeah, isFinishing(), my link got cut off ap

[android-developers] Re: How can I catch screen orientation change in onPause()?

2010-04-23 Thread Thom Shutt
I have a MediaPlayer playing music in a local Service andfor all other pause/resumes, I pause/resume the MediaPlayer. I need the music to carry on playing for a change in orientation though. Were you pointing to something in particular in the Activity documentation? On Apr 23, 7:39 pm, "~ TreKing"

[android-developers] Re: How can I catch screen orientation change in onPause()?

2010-04-23 Thread Thom Shutt
Or indeed onStop() On Apr 23, 6:01 pm, Thom Shutt wrote: > Specifically, I need a way of _not_ performing the onPause > functionality I've implemented when it occurs because of a change in > screen orientation. > > Thanks -- Thom > > -- > You received this message because you are subscribed to th