Thanks. It works now. In case anyone else wants to do this, here's
what I ended up with:
def open_url(self, url):
"""Ask the journal to open an URL for us."""
from sugar import profile
from shutil import rmtree
from sugar.datastore import datastore
On Sun, Mar 9, 2008 at 1:18 PM, Joshua Minor <[EMAIL PROTECTED]> wrote:
> 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
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
>> I want to make a button in my activity that opens a particular URL
>> with Browse.
> As Marco said, we cannot do this currently.
An observation (this is NOT any kind of request for action):
Traditionally, computers have had a "console stack" (usually LIFO).
Software could "push" a text stri
On Sun, Mar 9, 2008 at 10:41 AM, Joshua Minor <[EMAIL PROTECTED]> 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
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 <[EMAIL PROTECTED]> wrote:
> I want to make a button in my ac
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 fi