[Sugar-devel] How to write an html activity
Daniel Narvaez
dwnarvaez at gmail.com
Fri May 3 10:43:12 EDT 2013
Yup!
On 3 May 2013 16:42, Manuel Quiñones <manuq at laptop.org> wrote:
> 2013/5/3 Daniel Narvaez <dwnarvaez at gmail.com>:
> > 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.
>
> Great, we can add a toolbar to the template with:
>
> - an activity button on the left side in the user colors
> - a stop button on the right side that stops the activity
>
> --
> .. manuq ..
>
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130503/f434793e/attachment.html>
More information about the Sugar-devel
mailing list