[sugar] Launching activities from other activities

Michael Stone michael
Mon Oct 13 14:40:59 EDT 2008


On Mon, Oct 13, 2008 at 08:45:54PM +0530, Sayamindu Dasgupta wrote:
>Hello,
>What would be the best way to launch any activity from another
>activity ? An example where this is required would be #8774 where
>teachers from Uruguay are complaining that they are not being able to
>directly open hyperlinks  embedded in PDFs from Read.
>Ideally when the user clicks on the link, Browse should start and show
>the relevant page.
>I wrote a small utility called sugar-open yesterday, similar to
>gnome-open and xdg-open, where you pass any uri to the tool, and it
>will try to open it with the first relevant Activity it can find. I'm
>planning to make Read invoke sugar-open and launch Browse if required.
>Is there any better way to do this ?
>Thanks,
>Sayamindu

Sayamindu,

Where can I find your script?

Michael



More information about the Sugar-devel mailing list