[Sugar-devel] Sugar Paint Project

Puneet Kaur puneet.gkaur at gmail.com
Mon Jul 13 12:14:11 EDT 2015


Hi all,

I am familiar with the DataStore API. I'll work with Sneha to give this
activity a better UI and store it in journal as desired. We are doing this
with the help of cordova which makes it easier to convert js to sugar apps
easily. We'll try out to work with cordova local storage plugin for storing
the js image via the datastore api.

Regards,
Puneet

On Mon, Jul 13, 2015 at 7:04 PM, Gonzalo Odiard <godiard at sugarlabs.org>
wrote:

> You need see at the Datastore API [1]
> and check how can be used or extended to allow save images.
> I think there was some limitation, probably searching in the mailing
> you can get more information, like [2]
> Sadly dnarvaez and manuq, who were involved on design and development of
> the
> web api are not active at the moment.
>
> [1] https://github.com/sugarlabs/sugar-web/blob/master/datastore.js
> [2] http://lists.sugarlabs.org/archive/sugar-devel/2013-May/043303.html
>
> On Mon, Jul 13, 2015 at 10:14 AM, Tony Anderson <tony_anderson at usa.net>
> wrote:
>
>>  Hi,
>>
>> One possibility is to use a localhost to access a cgi script (in python)
>> which can perform datastore operations.
>>
>> Tony
>>
>>
>> On 07/13/2015 02:23 PM, Gonzalo Odiard wrote:
>>
>> Hi Sneha,
>> Welcome to SugarLabs!
>> I have tried it, and I think that have a lot of potential.
>> There are a few things you can do improve it:
>> 1) If you don't have a public repository, create one on github.
>> 2) Make the User Interface more similar to the Sugar activities.
>> In general, we try move all the tools/buttons to the toolbar,
>> and have a clear canvas to use all the screen.
>> See http://sugarlabs.github.io/sugar-web-samples/
>> 3) Implement save the graphic to the Journal. This is critical, and
>> probably
>>  will need research if the actual Sugar Web API is enough or you need
>> make changes.
>> (Until now, I think web activities only saved text/json files)
>> I cc sugar-devel mailing list, our channel for all the development topics.
>> https://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>  Gonzalo
>>
>>
>> On Sun, Jul 12, 2015 at 12:23 AM, Sneha Mohanty <sm21483 at gmail.com>
>> wrote:
>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Sneha Mohanty <sm21483 at gmail.com>
>>> Date: Sun, Jul 12, 2015 at 8:03 AM
>>> Subject: Sugar Paint Project
>>> To: sugar-devel at lists.sugarlabs.org
>>>
>>>
>>>    I have a great deal of interest in coding for the Sugar OS. I coded
>>> this Angular Js Paint app, that i was able to convert into a Sugar
>>> activity. I have attached the .xo file with this mail. Kindly try it out
>>> and let me know how it is.
>>>
>>>  Also, some of it's features, such as right click , Save as.. on the
>>> canvas is not working (which is functioning on browsers such as Chrome and
>>> Firefox )
>>>
>>>
>>>  I have attached the screenshots from my project with this mail, as a
>>> preview of the features. I would love to contribute further to sugarlabs
>>> projects. Kindly reply.
>>>
>>>
>>>  Regards,
>>>  Sneha Mohanty
>>>
>>>
>>>
>>> --
>>> SM
>>>
>>
>>
>>
>> _______________________________________________
>> Sugar-devel mailing listSugar-devel at lists.sugarlabs.orghttp://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
>
> --
> Gonzalo Odiard
>
> SugarLabs - Software [for | by] children learning
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150713/cf79176e/attachment.html>


More information about the Sugar-devel mailing list