Showing posts with label rotation. Show all posts
Showing posts with label rotation. Show all posts

Friday, November 27, 2009

Experimental Maemo 5 UI: Alternative Portrait Mode

The usual way to do rotation to portrait mode in Maemo 5 is to set special flags on a window and let the window manager rotate our window and relayout after the switch. It's not as fast as it could be, and task switching (even between two portrait mode apps) is only possible by switching to landscape mode. Apart from that, things like the system menu don't work in portrait mode.

For some applications, an alternative could be to stay in landscape mode and simply rotate widgets without the window manager even knowing...

It's probably best described in a short demo video of how a simple media player could look like (sorry for the sloppy video, forgot my digital camera, so the webcam had to act as a replacement) - have a look, and tell me what you think. (For comparison, have a look at the older Panucci rotation video that uses the "normal" way of going into and leaving portrait mode.)

Monday, August 31, 2009

Fullscreen and portrait modes for Panucci

Summer is always nice for travelling around, especially by train, which is quite cheap here in Austria, if you have the Sommerticket. Given that, I find myself having more time for listening to podcasts, and Panucci served me well so far.

Panucci, by the way, is a resuming podcast/audiobook player for Maemo.

There were just two annoyances until recently: First, there was no fullscreen support (yeah, a no-brainer, but it simply was not implemented..). Second, the UI looked ugly when the screen was rotated to portrait mode. And I wanted to play/pause the currently-playing podcast by touching the cover art. After a day of hacking, this is the result:

Nokia N810 running Panucci full-screen in landscape and portrait mode

You need Panucci 0.3-7 (which entered Maemo Extras today) and enable support for screen rotation on your tablet. After that you can listen to podcasts (and audiobooks/live concerts) and hold your tablet like this. If you only believe moving pictures, watch the live demo on YouTube.

As an added bonus, Panucci is now available for Fremantle, although I believe we have to wait for the PyMaemo guys to fix bug 5026 before supporting portrait mode there (if the instructions on this Wiki page are correct).