[maemo-developers] Howto enable portrait mode support on Fremantle

From: Frantisek Dufka dufkaf at seznam.cz
Date: Fri Aug 21 16:44:03 EEST 2009
Andrew Flegg wrote:
> My interpretation:
> 
>   * You set HILDON_PORTRAIT_MODE_SUPPORT _if_ the device is portrait
>     _before_ you open a window.
> 
>   * You pick up events (DBus or size-changed depending on whether
>     you need orientation or just aspect) and then explicitly
>     set HILDON_PORTRAIT_MODE_REQUEST.
> 

Hmm, my interpretation would be:

HILDON_PORTRAIT_MODE_SUPPORT - your application is OK with rotation, 
rotation may happen anytime (depends on user actions or on accelerometer 
state) and the switch is handled by system automatically

HILDON_PORTRAIT_MODE_REQUEST - your application knows better and 
actively wants to switch the mode right now to landscape
More information about the maemo-developers mailing list