[Sugar-devel] Queries regarding Sugar Sharp assembly on Mono
tomeu at sugarlabs.org
Tue Sep 28 03:27:33 EDT 2010
On Tue, Sep 28, 2010 at 02:57, Harpreet Sareen <author.blogger at gmail.com> wrote:
> 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:
You will also need to be willing to read quite a bit of Python and C code.
> On Tue, Sep 28, 2010 at 12:19 AM, Bert Freudenberg <bert at freudenbergs.de>
>> 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:
>> Thanks for your response. I came to know about developing activities for
>> Sugar throug C# from this link.
>> 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
>> >>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
>> - Bert -
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
More information about the Sugar-devel