Opening Browse programatically

Tomeu Vizoso tomeu at tomeuvizoso.net
Sun Mar 9 11:06:25 EDT 2008


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 frame.
>
>  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?

Thanks,

Tomeu



More information about the Devel mailing list