Make sure you didn't accidentally leave an orientation lock in the manifest, android:screenOrientation="landscape".

You would also see this sequence if your activity runs in landscape mode just because of how you're holding the device, and the device's lock screen uses portrait mode (or vice versa, I would assume).

Try the test again, but hold the device in portrait mode, you should only see onPause / onResume when you lock and unlock.

-- Kostya

03.10.2011 20:43, Latimerius ?????:

On Mon, Oct 3, 2011 at 6:37 PM, Kostya Vasilyev <kmans...@gmail.com <mailto:kmans...@gmail.com>> wrote:

    Is your activity locked to a particular orientation?


The actual activity in my program where I first noticed this is locked to landscape. However, the logs I quoted in my previous message are from a (almost) stock SkeletonActivity sample which I don't believe is locked.

--
Kostya Vasilyev

--
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