[Sugar-devel] How to write an html activity
Daniel Narvaez
dwnarvaez at gmail.com
Fri May 3 09:55:45 EDT 2013
Hello,
the initial bits of the html activities work has landed. It should now be
relatively easy to start writing an activity.
First of all you will need a development environment. See
http://sugarlabs.org/~buildbot/docs/build.html
Then open a shell and move to the source directory
make shell
cd source
Create an activity based on a template
volo create my-activity ./sugar-html-template
Install the activity for development as usual
cd my-activity
python setup.py dev
To interact with the platform you will need to add the sugar-core-html
library to your activity
volo add -f ./sugar-html-core
For now the API allows to close the activity and get the xo color. More
interfaces will be added soon.
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130503/11d3b749/attachment.html>
More information about the Sugar-devel
mailing list