[sugar] Launching activities from other activities
Sayamindu Dasgupta
sayamindu
Mon Oct 13 14:43:50 EDT 2008
On Tue, Oct 14, 2008 at 12:10 AM, Michael Stone <michael at laptop.org> wrote:
> 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?
>
Oops, sorry - I forgot to add the link:
http://dev.laptop.org/ticket/8817
Thanks,
Sayamindu
--
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
More information about the Sugar-devel
mailing list