[Sugar-devel] Adding sugar platform to cordova

Puneet Kaur puneet.gkaur at gmail.com
Mon Jun 2 15:51:20 EDT 2014


Thanks Daniel,

copying susgar-devel mailing list and Lionel on the mail thread.

May be he can help us know which way to go.

Thanks for your pointers to the collineargroup github code, it would be
surely of use to us.


On Tue, Jun 3, 2014 at 1:17 AM, Daniel Villa <daniel.a.villa02 at gmail.com>
wrote:

> As far as the 'web server' part of this idea is concerned, we've begun some
> development <https://github.com/CollinearGroup/cordova-web> on that idea.
> You may be interested.
>
>
>
>
> On Mon, Jun 2, 2014 at 11:44 AM, Puneet Kaur <puneet.gkaur at gmail.com>
> wrote:
>
> > Yes, sugar is not an app.Its a seperate full blown os, based on linux
> >
> > Incase you want details you can read through the mail I had sent on this
> > mailing list earlier.
> >
> > Here it is once again :
> >
> >
> ---------------------------------------------------------------------------------------------------------------------------
> > Hey all ,
> >
> > We at sugar labs are trying to add the sugar platform to cordova.
> >
> > Here lies our code : https://github.com/sugarlabs and here's our
> website :
> > http://sugarlabs.org/
> >
> > Sugar was developed at MIT Media Labs to provide a free open source
> > learning platforms to kids over the olpc (one laptop per child)
> > computers.These are specially designed keeping the young students in
> mind.
> >
> > We have different activities on this operating system which make it fun.
> > You can have a look here : http://activities.sugarlabs.org/ but
> currently
> > these are all the native activities which are build in python.(sugar's
> > native base is in python)
> >
> > Recently we have developed an architecture known as sugar web which helps
> > us to develop activities using web languages like html, js and css and
> > these can then communicate with the native base.
> >
> > To take this a step further we are trying to incorporate all the device
> > functionalities too in the web activities so that all the web developers
> > can contribute to the code and make their own activities and also port
> > there application for different platform to sugar. So here cordova comes
> to
> > the picture.
> >
> > So start with we already have a bridge between web interface and the
> native
> > side, just that need to provide cordova api's at the top.
> >
> > Our team is currently working on it which basically comprises of Lionel
> > (president, olpc france), me  and other sugar web team members.
> >
> > I would request the cordova community to kindly help us to successfully
> > port the sugar project to cordova.
> >
> > We shall be blogging about the success of the project here :
> > http://www.sugarcordova.blogspot.com
> >
> > you can have a taste of what sugar looks like here :
> > http://server.sugarizer.org/ or http://sugarizer.org/
> >
> > We have currently integrated cordova.js with the sugar web code and have
> > made a minimal cordova.js for sugar.
> >
> > Would be nice if some cordova people can guide us as to how to go about
> > successfully adding up our platform to cordova .
> >
> >
> ----------------------------------------------------------------------------------------------------------------------------------
> >
> >
> > On Tue, Jun 3, 2014 at 12:07 AM, Wargo, John <john.wargo at sap.com> wrote:
> >
> > > I'm not sure I'm getting this.
> > >
> > > Sugar is an app, content that would run in the container, right?
> > >
> > > Adding web application content to a cordova project is not really a use
> > > case for the CLI. You can use the templeting capabilities of the CLI
> > > Create command to pass in a pre-configured web app (Sugar).
> > >
> > >
> > > To add Sugar as a platform to a Cordova app would mean that Sugar is an
> > > output target for the application.  Is that really what you want?
> > >
> > > On 6/2/14 6:14 AM, "Puneet Kaur" <puneet.gkaur at gmail.com> wrote:
> > >
> > > >Thanks for the reply.
> > > >
> > > >that page mentions the various commands possible and the platforms
> > > >supported.
> > > >
> > > >I wished to know how to go about adding ours to the already existing
> > list
> > > >of supported platform.
> > > >
> > > >All what I could infer from searching places is that we need to make
> > > >something similar to this :
> > > >
> > >
> >
> https://github.com/apache/cordova-lib/tree/master/cordova-lib/src/cordova/
> > > >metadata
> > > >- a parser for ours too ..
> > > >
> > > >Please let me know if I am wrong or if there's something else also
> needs
> > > >to
> > > >be done to have the cli support for new platform ?
> > > >
> > > >
> > > >On Mon, Jun 2, 2014 at 2:31 AM, Carlos Santana <csantana23 at gmail.com>
> > > >wrote:
> > > >
> > > >> Take a look here:
> > > >> http://wiki.apache.org/cordova/CommandLineToolingDesign
> > > >>
> > > >> it shows the api that a cordova platform would need to implement for
> > the
> > > >> cli to be able to work with it
> > > >>
> > > >> --Carlos
> > > >>
> > > >>
> > > >> On Sun, Jun 1, 2014 at 4:34 AM, Puneet Kaur <puneet.gkaur at gmail.com
> >
> > > >> wrote:
> > > >>
> > > >> > Hey,
> > > >> >
> > > >> > We are through with instantiating chromeless browser window,the
> > native
> > > >> > bridge setup and integration with cordova-js..
> > > >> >
> > > >> > But I just wished to know how can we make the platform work
> through
> > > >> cordova
> > > >> > cli, we wish to execute the commands like :
> > > >> >
> > > >> > cordova platform add sugar
> > > >> > and
> > > >> > cordova build sugar
> > > >> >
> > > >> > so for these to work.. what all are we supposed to do ? How to
> > > >>approach
> > > >> > this problem ?
> > > >> >
> > > >> > would be nice if someone here at cordova developer mailing list
> can
> > > >>help.
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Carlos Santana
> > > >> <csantana23 at gmail.com>
> > > >>
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140603/bd2b60e0/attachment.html>


More information about the Sugar-devel mailing list