Opening Browse programatically

Joshua Minor j at lux.vu
Sun Mar 9 05:41:09 EDT 2008


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




More information about the Devel mailing list