[Sugar-devel] Making your own HTML activity

Daniel Narvaez dwnarvaez at gmail.com
Mon Apr 29 16:08:39 EDT 2013


Hi Lionel,

the bundlebuilder is defined in sugar-toolkit-gtk3, it's just the normal
stuff we are using to build native activities.

The magic is just the sugar-html-activity in the Exec field.

http://git.sugarlabs.org/hello-world/mainline/blobs/html/activity/activity.info

That makes an instance of HTMLActivity (an Activity containing a WebView),
which loads the index.html.


On 29 April 2013 22:03, <lionel at olpc-france.org> wrote:

>
> Hi Daniel,
>
> Cool !
> Sorry for (yet another) stupid question but I don't understand because I'm
> not fully familiar with Sugar core.
> Where is the magic? Where the "bundlebuilder" class is defined ?
>
>         Lionel.
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 27 Apr 2013 20:39:02 +0200
> From: Daniel Narvaez <dwnarvaez at gmail.com>
> To: "sugar-devel at lists.sugarlabs.org"
>         <sugar-devel at lists.sugarlabs.org>
> Subject: [Sugar-devel] Making your own HTML activity
> Message-ID:
>         <
> CANTHhvbNRJ8jKmkBrSB1EkaGy_4RR995-8Cm2YWGqu-H7mNtHQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> it would be great if people would start to play with html activities. We
> have some initial support in Sugar for it. Here is an hello-world:
>
> http://git.sugarlabs.org/hello-world/mainline/trees/html
>
> You can only use the standard html5 stuff at the moment but we will be soon
> providing javascript libraries to implement Sugar graphics controls,
> integration with the datastore and collaboration services!
>
> You will need latest sugar-build to play with it.
>
> http://sugarlabs.org/~buildbot/docs/build.html
>
> Don't forget to report any issue you find. And release your activities
> early! Even if you don't make official xo files releases, let us know about
> your git repositories.
>
> --
> Daniel Narvaez
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <
> http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130427/a74092d
> 4/attachment-0001.html>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130429/3c098791/attachment-0001.html>


More information about the Sugar-devel mailing list