Orientation change Event not working because of Emulator?
Orientation change Event not working because of Emulator?
BY 22 May 2013Native Application Development
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.)
Orientation change Event not working because of Emulator?
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.)
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio