Opening Browse programatically

Marco Pesenti Gritti mpgritti at gmail.com
Sun Mar 9 06:48:51 EDT 2008


Launching activities from another activity is currently not supported.
There are security concerns which will have to be addressed. I hope to
find time to look into this for Update.2.

Marco

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?
>
>  -josh
>
>  _______________________________________________
>  Devel mailing list
>  Devel at lists.laptop.org
>  http://lists.laptop.org/listinfo/devel
>



More information about the Devel mailing list