#6958 HIGH 9.1.0: Need to be able to launch locally installed activities from within browse
Zarro Boogs per Child
bugtracker at laptop.org
Thu Jul 3 12:38:21 EDT 2008
#6958: Need to be able to launch locally installed activities from within browse
---------------------------+------------------------------------------------
Reporter: BryanBerry | Owner: mstone
Type: enhancement | Status: new
Priority: high | Milestone: 9.1.0
Component: sugar | Version:
Resolution: | Keywords: 9.1.0:?
Next_action: never set | Verified: 0
Blockedby: | Blocking:
---------------------------+------------------------------------------------
Changes (by bemasc):
* cc: bemasc (added)
Comment:
I don't understand what the issue is. The system already supports this.
All you need to do is:
1. Declare in your activity.info that mime_types = .... some-special/mime-
type
2. Serve up a file from your server with that mime type
When the user clicks on the link to download that file, it will download,
and then the user will be directed to that file's detail entry in the
Journal. The only launch option presented will be the Activity you're
trying to launch, because of the unique mime type.
The file can be very small, even empty. If all the lesson data is already
contained within the Activity, then the downloaded file can indicate which
lesson or section should be launched. Alternatively, the downloaded file
can contain the relevant lesson data.
It's up to you how to implement it, but this has been possible from the
beginning.
--
Ticket URL: <http://dev.laptop.org/ticket/6958#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list