[maemo-developers] Screenshot as loading screen on Maemo 5

From: Cornelius Hald hald at icandy.de
Date: Sat Oct 17 12:32:51 EEST 2009
On Tue, 2009-10-13 at 21:22 +0200, Cornelius Hald wrote:
> On Tue, 2009-10-13 at 18:45 +0100, Andrew Flegg wrote:
> > Faheem wrote:
> > >
> > > https://stage.maemo.org/viewcvs.cgi/projects/haf/trunk/hildon-control-panel/src/hcp-window.c?root=maemo&r1=19383&r2=19382&pathrev=19383
> > 
> > I can confirm that copying an existing entry from /home/user/.cache/launch/ to <dbus-name>.pvr will result in it being launched with that screenshot before fading in the actual window.
> Wow, you guys are great :) So it should be really straight forward to
> implement this in our own apps. I'll give it a try tomorrow. Also it
> looks like most stock apps are using it now. Notes, Sketch, Xterm,
> Calculator and more.

Just a quick update: It is really enough to just call
hildon_gtk_window_take_screenshot() in your code. The next time you
start your application the screenshot will automatically be used. I
first thought you have to use maemo-launcher to make use of this
feature, but it also works without.


More information about the maemo-developers mailing list