From: Andrea Grandi <a.gra...@gmail.com> > Hi, > > 2009/8/21 Alberto Garcia <agar...@igalia.com>: > > On Fri, Aug 21, 2009 at 02:37:14PM +0200, Frantisek Dufka wrote: > > Good point. However we don't have that in Fremantle so there's no need > > for that. > > I really would like to have a map application similar to the iPhone > one, with "compass" support: when you turn around the map rotates :)
Hmmm, but this is not related with the portrait mode. The portrait mode is a window flag, used by the WM, in order to place the windows in one orientation or other, and I suppose that this map is basically a view drawn by your application. This compass support should be implemented in other way. I mean that I don't see why the window manager should manage each individual angle. I suppose that in this case you should use a library that access directly to the accelerometer, so you app could rotate the map view as you want. In this case, the portrait mode flags could be used to rotate the title header, for example, if you rotate the device, so you could access easily to the menus on the headers. Summary: limit the portrait mode on the WM is not a limit to create a "compass" like application. === API (apinhe...@igalia.com) _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers