[Sugar-devel] Call Activity

Tomeu Vizoso tomeu at sugarlabs.org
Mon Jan 26 09:05:16 EST 2009


On Wed, Jan 21, 2009 at 18:58, Rodrigo Padula de Oliveira
<rodrigopadula at projetofedora.org> wrote:
> Hello Guys!
>
> How can i call an activity from shell ?

You can see here how the shell resumes or starts an activity:

http://git.sugarlabs.org/projects/sugar/repos/mainline/blobs/master/src/jarabe/desktop/favoritesview.py#line528

> Is possible to call a activity from a html page ? How can i do that ?

With security enabled, it's not possible. Without security, you can
handle the event with pyxpcom and then launch the activity in exactly
the same way as the shell.

Regards,

Tomeu


More information about the Sugar-devel mailing list