Hi all,

I noticed that if the orientation of the phone changes (portrait to
landscape mode), my Activity is restarted, calling onPause(),
onStop(), onStart(), and onResume(). The same thing happens when my
Activity is running and a phone call comes in.

I would like to treat these two events differently, so is there any
way to determine the reason why onPause() was called?

Even a method to get the current orientation of the phone could be
helpful as I could store it and check for a difference.

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to