[Sugar-devel] First HTML activities API

Manuel Quiñones manuq at laptop.org
Fri May 3 10:01:16 EDT 2013


Excellent.  I have updated my toy web activity to make use of the close API:

https://github.com/manuq/clockjs

Now I'll do the activity icon painted with the xo-colors API, in the
same way as in your xi-artwork/icons.js

2013/5/1 Daniel Narvaez <dwnarvaez at gmail.com>:
> Hello,
>
> I submitted some initial code for the HTML activities API. I implemented
> only a close method for now, but it should be possible to add more stuff
> easily.
>
> Here is the toolkit patch
>
> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/15
>
> It adds a dependency on gwebsockets.
>
> https://github.com/dnarvaez/gwebsockets
>
> The javascript library (reviews would be appreciated)
>
> https://github.com/sugarlabs/sugar-html-core
>
> And an example of using it
>
> https://github.com/sugarlabs/sugar-html-demo
>
> It's really a first attempt but I suggest we go ahead and implement more
> APIs on the top of this. It should give us a more concrete idea of what we
> need exactly.
>
> I think we need to do authentication otherwise anything could use the
> communication channel, but that should be pretty easy.
>
> --
> Daniel Narvaez
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



--
.. manuq ..


More information about the Sugar-devel mailing list