Opening Browse programatically
j at lux.vu
Sun Mar 9 13:18:57 EDT 2008
I made an activity wrapper for the interactive fiction interpreter
Frotz. I want to have a button in the toolbar called "Get More Games"
that opens a web page where you can download z-machine files.
It looks like Chat lets you copy links to the clipboard and you can
open them from there. I'll try that for now.
On Mar 9, 2008, at 8:06 AM, Tomeu Vizoso wrote:
> On Sun, Mar 9, 2008 at 10:41 AM, Joshua Minor <j at lux.vu> wrote:
>> I want to make a button in my activity that opens a particular URL
>> with Browse.
>> I found some code like this:
>> activityfactory.create_with_uri('org.laptop.WebActivity', url)
>> but that doesn't seem to work properly. It tries to open Browse, but
>> throws an exception when trying to create a log file. Oddly, this
>> does work if I run my activity via sugar-launch, but not from the
>> Is there another way to do this?
> As Marco said, we cannot do this currently. But perhaps you could
> explain what you are trying to do and perhaps someone could think of
> some alternative?
More information about the Devel