<div dir="ltr">Hi Sneha,<div>I have tried your activity, a few comments below:</div><div>Please subscribe to sugar-devel mailing list (<a href="https://lists.sugarlabs.org/listinfo/sugar-devel">https://lists.sugarlabs.org/listinfo/sugar-devel</a>)</div><div>and reply to all, not just me. There are other people with more experience than me </div><div>on this specific area, like  Puneet, that gently offered help.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 14, 2015 at 7:51 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span></span>Hi Gonzalo,<br><br></div>Hope you are doing well.<br><div><div><div><div><br></div>I have attempted to integrate the activity using the Sugar toolbar, like you had suggested (Please install the xo file attached with this mail onto Sugar OS ) , however i have doubts such as -<br></div></div></div></div></blockquote><div><br></div><div>The XO starts ok, and works.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div>1) Where do i link the functionality between my app and the Sugar OS, for example, how do i give the <b>different functionalities</b> to the <b>svg icons</b> such as start-activity, stop-activity , etc ?? and how do i link that to the Sugar OS ?? Could you give me a hint ?<br><br></div></div></div></blockquote><div><br></div><div>First of all, you need add a Stop button to close your activity. Second, you need use the right widget for your activity icon,</div><div>that will be painted with the user colors and then you know that communication with the sugar os is working.</div><div>You can download Develop activity (<a href="http://activities.sugarlabs.org/en-US/sugar/addon/4058">http://activities.sugarlabs.org/en-US/sugar/addon/4058</a>)</div><div>create a "Hello world" web activity, and see the code used.</div><div><br></div><div>Also look at the activity in development by Michael. He achieved a better integration of the tools </div><div>in the toolbar, and the activity looks more like a Sugar activity.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div></div>2) I have generated the xo file by using  <code>" python setup.py install "  instead of "python </code><code> <span>setup</span><span>.</span><span>py</span> <span>dist_xo " after going through the steps in this page - <br></span></code><pre><code><span></span><span></span><span></span><span></span><span><a href="http://developer.sugarlabs.org/activity.md.html" target="_blank">http://developer.sugarlabs.org/activity.md.html</a><br><br></span></code></pre><pre><code><span>I DON'T KNOW if that is  the right way to do it.<br><br></span></code></pre><pre><code><span>I used python setup.py install and not python setup.py dist_xo because the "po" directory was missing in my activity and i <br></span></code></pre><pre><code><span>didn't know how to generate that.<br></span></code></pre><pre><code><span><br></span></code></pre></div></div></blockquote><div>python setup.py dist_xo is the way to generate a .xo file, even if a po directory does not exist.</div><div><br></div><div>Try to talk with Puneet and Michael, and work together, </div><div>is better have one good Paint activity, than two half good activities,</div><div>and work with others is the key on open source projects :)</div><div><br></div><div>Gonzalo</div></div></div></div>