<div dir="ltr">You need see at the Datastore API [1]<div>and check how can be used or extended to allow save images.</div><div>I think there was some limitation, probably searching in the mailing</div><div>you can get more information, like [2]</div><div>Sadly dnarvaez and manuq, who were involved on design and development of the </div><div>web api are not active at the moment.</div><div><br></div><div>[1] <a href="https://github.com/sugarlabs/sugar-web/blob/master/datastore.js">https://github.com/sugarlabs/sugar-web/blob/master/datastore.js</a></div><div>[2] <a href="http://lists.sugarlabs.org/archive/sugar-devel/2013-May/043303.html">http://lists.sugarlabs.org/archive/sugar-devel/2013-May/043303.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 10:14 AM, Tony Anderson <span dir="ltr"><<a href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi, <br>
    <br>
    One possibility is to use a localhost to access a cgi script (in
    python) which can perform datastore operations.<br>
    <br>
    Tony<div><div class="h5"><br>
    <br>
    <div>On 07/13/2015 02:23 PM, Gonzalo Odiard
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi Sneha,
        <div>Welcome to SugarLabs!<br>
          <div>I have tried it, and I think that have a lot of
            potential.</div>
          <div>There are a few things you can do improve it:</div>
          <div>1) If you don't have a public repository, create one on
            github.</div>
          <div>2) Make the User Interface more similar to the Sugar
            activities.</div>
          <div>In general, we try move all the tools/buttons to the
            toolbar,</div>
          <div>and have a clear canvas to use all the screen.</div>
          <div>See <a href="http://sugarlabs.github.io/sugar-web-samples/" target="_blank">http://sugarlabs.github.io/sugar-web-samples/</a></div>
          <div>3) Implement save the graphic to the Journal. This is
            critical, and probably<br>
          </div>
          <div>will need research if the actual Sugar Web API is enough
            or you need make changes.</div>
          <div>(Until now, I think web activities only saved text/json
            files)</div>
          <div>I cc sugar-devel mailing list, our channel for all the
            development topics.</div>
          <div><a href="https://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">https://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
          </div>
          <div><br>
          </div>
          <div>Gonzalo</div>
          <div><br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Jul 12, 2015 at 12:23 AM, Sneha
          Mohanty <span dir="ltr"><<a href="mailto:sm21483@gmail.com" target="_blank">sm21483@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr"><br>
              <div class="gmail_quote">---------- Forwarded message
                ----------<br>
                From: <b class="gmail_sendername">Sneha Mohanty</b> <span dir="ltr"><<a href="mailto:sm21483@gmail.com" target="_blank">sm21483@gmail.com</a>></span><br>
                Date: Sun, Jul 12, 2015 at 8:03 AM<br>
                Subject: Sugar Paint Project<br>
                To: <a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>
                <br>
                <br>
                <div dir="ltr">
                  <div>
                    <div>
                      <div>
                        <div>
                          <div>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. <br>
                            <br>
                          </div>
                          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 )<br>
                          <br>
                        </div>
                        <br>
                      </div>
                      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.<br>
                      <br>
                      <br>
                    </div>
                    Regards,<br>
                  </div>
                  Sneha Mohanty<span><font color="#888888"><br>
                    </font></span></div>
                <span><font color="#888888">
                  </font></span></div>
              <span><font color="#888888"><br>
                  <br clear="all">
                  <br>
                  -- <br>
                  <div>SM<br>
                  </div>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Sugar-devel mailing list
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software [for | by] children learning <br></div></div></div></div></div>
</div>