[Sugar-devel] Queries regarding Sugar Sharp assembly on Mono

Harpreet Sareen author.blogger at gmail.com
Tue Sep 28 07:55:38 EDT 2010


The Sugar-Sharp assembly doesn't include today the binding for the Telepathy
Framework so we can't communicate with Sugar for networking operation.

By the way, there is already a Telepathy-Sharp that exists here:
Link<http://telepathy.freedesktop.org/wiki/TelepathySharp>
.
If somebody already has used Telepathy sharp earlier and/or knows about the
working of Telepathy and how it is interoperable with Sugar, then the person
could integrate TelepathySharp in his project and do the right call to
communicate with Sugar.

Regards
Harpreet

On Tue, Sep 28, 2010 at 5:05 PM, Harpreet Sareen
<author.blogger at gmail.com>wrote:

> Hi,
>
> No problem. I'll get back with more specific queries related to C#
> activities.
> Thanks for the links!
>
> Regards
> Harpreet
>
>
> On Tue, Sep 28, 2010 at 12:57 PM, Tomeu Vizoso <tomeu at sugarlabs.org>wrote:
>
>> On Tue, Sep 28, 2010 at 02:57, Harpreet Sareen <author.blogger at gmail.com>
>> wrote:
>> > Hi,
>> > Thanks for the reply. I have quite a bit of experience in Windows
>> > development and I specifically wanted to use C# to open the entrances
>> for
>> > everyone to contribute in for the OLPC. Although the hardest part is
>> done, I
>> > would like to know about how can I add the core features of
>> collaboration in
>> > developing activities by C#. Please guide me along the process.
>>
>> I agree with what Bert said. If you really want to create a framework
>> that makes easier developing activities with C# and are ready to make
>> the effort required, then you will need to slowly learn the basics and
>> go up step by step.
>>
>> A good starting point is to follow these tutorials/guides:
>>
>> http://en.flossmanuals.net/ActivitiesGuideSugar
>> http://dbus.freedesktop.org/doc/dbus-tutorial.html
>> http://www.ndesk.org/DBus_Documentation
>>
>> You will also need to be willing to read quite a bit of Python and C code.
>>
>> Regards,
>>
>> Tomeu
>>
>> > Thanks
>> > --Harpreet
>> >
>> > On Tue, Sep 28, 2010 at 12:19 AM, Bert Freudenberg <
>> bert at freudenbergs.de>
>> > wrote:
>> >>
>> >> On 27.09.2010, at 20:05, Harpreet Sareen wrote:
>> >>
>> >> Hi Tomeu,
>> >>
>> >> >>You can access the Telepathy API through DBus# and the Telepathy DBus
>> >> >> spec:
>> >> >>
>> >> >>http://www.ndesk.org/DBusSharp
>> >> >>http://telepathy.freedesktop.org/spec/
>> >> >>
>> >>
>> >> Thanks for your response. I came to know about developing activities
>> for
>> >> Sugar throug C# from this link.
>> >>
>> http://www.codeproject.com/KB/cross-platform/monosugar.aspx?display=Print
>> >> I am not a pro developer. Is there a tutorial available on how to use
>> the
>> >> telepathy API for mesh networking in my activity as it is normally
>> available
>> >> for Python etc. while developing an activity. I would be obliged for
>> the
>> >> same.
>> >>
>> >> >>They are normal Gtk widgets, you can see how to construct them in the
>> >> >>sugar-toolkit code:
>> >> >>
>> >>
>> >> >> >>
>> http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/widgets.py#line326
>> >>
>> >> I am sorry I didn't refer to using C# here. How can I make the Activity
>> >> Toolbar or these widgets in my activity using C#?
>> >>
>> >> >>3) I want to use the Text to Speech mechanism in my activity similar
>> to
>> >> >> eSpeak. How's that done in Mono?I think you have two options:
>> >>  >>
>> >> >>- DBus# to interface with speech-dispatcher
>> >> >>- http://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak
>> >>
>> >> Since I am a new learner, I would really appreciate a sample or a
>> tutorial
>> >> on how do the same(using C# here).
>> >> I would be really indebted for help. Thanks a lot!
>> >>
>> >> If you are just learning to program, writing your Sugar activity in
>> Python
>> >> would save you loads of trouble.
>> >> It is possible to write an activity in any language (I know, because I
>> did
>> >> it) but you do have to be proficient in the language you want to use,
>> and be
>> >> able to map general advice into working code.
>> >> For C#, the framework that Lionel's tutorial describes already goes a
>> long
>> >> way, the hardest part is done. But extending it to fully support a
>> >> Sugar-like GUI and collaboration is going to be your problem, since you
>> are
>> >> one of the very few (if not the only one) who want to write an activity
>> in
>> >> C#.
>> >> - Bert -
>> >>
>> >>
>> >> _______________________________________________
>> >> Sugar-devel mailing list
>> >> Sugar-devel at lists.sugarlabs.org
>> >> http://lists.sugarlabs.org/listinfo/sugar-devel
>> >>
>> >
>> >
>> > _______________________________________________
>> > 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/20100928/b583a1af/attachment-0001.htm 


More information about the Sugar-devel mailing list