I want to display an alert in every time when the user change the orientation of the mobile. There is a method to capture this mouvement?
I use Display.getOrientation();. But it always returns 32 in different orientation.
I want to display an alert in every time when the user change the
Share
Note: when you check orientation you have to close SLIDER in 9800 simulator other wise it wont work
try following code :