Orientation change Event not working because of Emulator?
By Abricot
22 May 2013 00:41
English
2 Replies
Hi Everyone
I am runing a simple html css javascript from a native app.
I currently use CSS media querries so as a landscape-css applies when the terminal turns landscape.
But when I try it on the emulator, and go click right >> Rotate > Landscape, the landscape.css seems not to apply.
I tried to get the window.orientation status by javascript, and it always returns "0", meaning portrait.
What is wrong ??? Do I lack some piece of code, or is it an emulator related problem?
(PS : I enabled auto rotate screen in emulator's tizen settings but the problem remains.)
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------