[sugar] Launching activities from other activities
Mon Oct 13 11:15:54 EDT 2008
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 ?
More information about the Sugar-devel