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