Screenshot as loading screen on Maemo 5

Screenshot as loading screen on Maemo 5

Thomas Perl
Karma: 2689
2009-10-13 14:58 UTC
Hello!

With the latest firmware, the "Settings" window and the Application
Manager both show a fake screenshot when clicking the icon in the menu
and then fade to the "real" window contents after the application has
really started up (look closely at the "Language & region" icon in the
settings dialog when starting it to see what I mean, as the screenshot
contains a different icon than the real application).

For applications that start up longer (e.g. Python applications) this
can be really helpful, and I'd like to do the same for gPodder if
possible.

Is there an "official" way to do this for third party applications (or
how is it done at all)?

Thanks,
Thomas
  •  Reply

Re: Screenshot as loading screen on Maemo 5

Martin Grimme
Karma: 1317
2009-10-13 15:17 UTC
Good find. This would be an Apple-style illusion of quick application
startup. :)

This is interesting because it doesn't seem to be simply a screenshot.
I can see in the app manager that it actually resembles the current
theme.


Cheers,
Martin


2009/10/13, Thomas Perl <th.perl@gmail.com>:
> Hello!
>
> With the latest firmware, the "Settings" window and the Application
> Manager both show a fake screenshot when clicking the icon in the menu
> and then fade to the "real" window contents after the application has
> really started up (look closely at the "Language & region" icon in the
> settings dialog when starting it to see what I mean, as the screenshot
> contains a different icon than the real application).
>
> For applications that start up longer (e.g. Python applications) this
> can be really helpful, and I'd like to do the same for gPodder if
> possible.
>
> Is there an "official" way to do this for third party applications (or
> how is it done at all)?
>
> Thanks,
> Thomas
>
  •  Reply

Re: Screenshot as loading screen on Maemo 5

Kamen Bundev
Karma: 919
2009-10-13 15:27 UTC
Yes I noticed it too, but it also manages to keep any clicks on the whatever
it is to throw them later to the real app. So it probably isn't just a
screenshot.

P.S. Sorry Martin for the spam :)

Regards:
Bundyo

On Tue, Oct 13, 2009 at 6:17 PM, Martin Grimme <martin.grimme@gmail.com>wrote:

> Good find. This would be an Apple-style illusion of quick application
> startup. :)
>
> This is interesting because it doesn't seem to be simply a screenshot.
> I can see in the app manager that it actually resembles the current
> theme.
>
>
> Cheers,
> Martin
>
>
> 2009/10/13, Thomas Perl <th.perl@gmail.com>:
> > Hello!
> >
> > With the latest firmware, the "Settings" window and the Application
> > Manager both show a fake screenshot when clicking the icon in the menu
> > and then fade to the "real" window contents after the application has
> > really started up (look closely at the "Language & region" icon in the
> > settings dialog when starting it to see what I mean, as the screenshot
> > contains a different icon than the real application).
> >
> > For applications that start up longer (e.g. Python applications) this
> > can be really helpful, and I'd like to do the same for gPodder if
> > possible.
> >
> > Is there an "official" way to do this for third party applications (or
> > how is it done at all)?
> >
> > Thanks,
> > Thomas
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers@maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> >
>

  •  Reply

Re: Screenshot as loading screen on Maemo 5

Andrew Flegg
Karma: 3343
2009-10-13 16:09 UTC
On Tue, Oct 13, 2009 at 16:17, Martin Grimme <martin.grimme@gmail.com> wrote:
> Good find. This would be an Apple-style illusion of quick application
> startup. :)

As I described at:

http://www.maemopeople.org/index.php/jaffa/2008/03/08/improving_application_start_up_usability
and http://www.maemopeople.org/index.php/jaffa/2008/03/09/improving_application_start_up_mockup

Presumably there's something in the .desktop? I've certainly noticed
that a window for my apps is opened with the title from the icon with
black content. If the app fails to start, that window is then
destroyed.

Cheers,

Andrew

--
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org/
  •  Reply

Re: Screenshot as loading screen on Maemo 5

Faheem Pervez
Karma: 2151
2009-10-13 17:06 UTC
Hiya,

https://stage.maemo.org/viewcvs.cgi/projects/haf/trunk/hildon-control-panel/src/hcp-window.c?root=maemo&r1=19383&r2=19382&pathrev=19383

Best Regards,
Faheem

On Tue, Oct 13, 2009 at 3:58 PM, Thomas Perl <th.perl@gmail.com> wrote:
> Is there an "official" way to do this for third party applications (or
> how is it done at all)?
>
> Thanks,
> Thomas
>
  •  Reply

Re: Screenshot as loading screen on Maemo 5

Andrew Flegg
Karma: 3343
2009-10-13 17:45 UTC
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.

Cheers,

Andrew

--
Andrew Flegg -- mailto:andrew@bleb.org  |  http://www.bleb.org/

  •  Reply

Re: Screenshot as loading screen on Maemo 5

Cornelius Hald
Karma: 573
2009-10-13 19:22 UTC
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.

Thanks for that!
Conny


  •  Reply

Re: Screenshot as loading screen on Maemo 5

2009-10-14 08:26 UTC
O Mar, 13-10-2009 ás 16:58 +0200, Thomas Perl escribiu:
> With the latest firmware, the "Settings" window and the Application
> Manager both show a fake screenshot when clicking the icon in the menu
> and then fade to the "real" window contents after the application has
> really started up (look closely at the "Language & region" icon in the
> settings dialog when starting it to see what I mean, as the screenshot
> contains a different icon than the real application).
>
> For applications that start up longer (e.g. Python applications) this
> can be really helpful, and I'd like to do the same for gPodder if
> possible.
>
> Is there an "official" way to do this for third party applications (or
> how is it done at all)?

For applications written in C, you have
void hildon_gtk_window_take_screenshot (GtkWindow *window, gboolean
take);

http://maemo.org/api_refs/5.0/5.0-final/hildon/hildon-Additions-to-GTK
+.html#hildon-gtk-window-take-screenshot

This would be the right way of doing this as you could just create the
screenshot when you consider that your screenshot should change, very
useful if you have more than windows that can be shown on startup.

About Python, I couldn't find it at the first glance, but the PyMaemo
guys can explain it better.

Br.

--
Xabier Rodríguez Calvar
Computer Engineer
IGALIA http://www.igalia.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkrVizAACgkQnOMkPTyqZPQs0QCgh2KoEVvxHWJ0AvCktbIgpJ4C
6soAn2fkyujsF6KxUqNoL0C3yXLeZ1ai
=DNqK
-----END PGP SIGNATURE-----

  •  Reply

Re: Screenshot as loading screen on Maemo 5

Marat Radchenko
Karma: 102
2009-10-14 08:43 UTC
What's the point looking fast when in practice it is slow? Can't you just
fix your app so it starts up faster?

2009/10/13 Thomas Perl <th.perl@gmail.com>

> Hello!
>
> With the latest firmware, the "Settings" window and the Application
> Manager both show a fake screenshot when clicking the icon in the menu
> and then fade to the "real" window contents after the application has
> really started up (look closely at the "Language & region" icon in the
> settings dialog when starting it to see what I mean, as the screenshot
> contains a different icon than the real application).
>
> For applications that start up longer (e.g. Python applications) this
> can be really helpful, and I'd like to do the same for gPodder if
> possible.
>
> Is there an "official" way to do this for third party applications (or
> how is it done at all)?
>
> Thanks,
> Thomas
>

  •  Reply

Re: Screenshot as loading screen on Maemo 5

Aniello Del Sorbo
Karma: 860
2009-10-14 08:59 UTC
Every app, when starts up, has to prepare its UI and then show it to the user.
Some of them do that in Python.

This whole process cannot sped up, it's there and takes some time.

I'd be glad if there's a way to optimize it.

Aniello

2009/10/14 Marat Radchenko <slonopotamusorama@gmail.com>:
> What's the point looking fast when in practice it is slow? Can't you just
> fix your app so it starts up faster?
>
> 2009/10/13 Thomas Perl <th.perl@gmail.com>
>>
>> Hello!
>>
>> With the latest firmware, the "Settings" window and the Application
>> Manager both show a fake screenshot when clicking the icon in the menu
>> and then fade to the "real" window contents after the application has
>> really started up (look closely at the "Language & region" icon in the
>> settings dialog when starting it to see what I mean, as the screenshot
>> contains a different icon than the real application).
>>
>> For applications that start up longer (e.g. Python applications) this
>> can be really helpful, and I'd like to do the same for gPodder if
>> possible.
>>
>> Is there an "official" way to do this for third party applications (or
>> how is it done at all)?
>>
>> Thanks,
>> Thomas
>
>
>
>



--

--
anidel
Sent from London, Eng, United Kingdom
  •  Reply
1 2 3 4 5 6 next »