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

From: Cornelius Hald hald at icandy.de
Date: Fri Aug 21 16:51:45 EEST 2009
On Fri, 2009-08-21 at 15:44 +0200, Frantisek Dufka wrote:
> 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

That would be exactly what I would like to have. And originally I
thought I should work like this. But the mail from Alberto said
something different. Or I misunderstood him.

Cheers!
Conny


More information about the maemo-developers mailing list