Hi all,

I have created a webpage and will browse it through HTC MAGIC default
browser.
For my webpage, it needs to use different layout under landscape/
portrait.
That is, not only I want to get current orientation but also want to
be noticed of orientation changed event.
After trying, I found that using "window.orientation" can get current
orientation (0 for portrait and 90 for landscape).
But I cannot find any information about creating event listener such
as iPhone's "window.onorientationchange".
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to