Mono: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Developers}}
{{Developers}}
{{Stub}}


Sugar activities are usually written in Python using the [[API_Reference|Python Activity API]]. This page documents how is possible to use Mono to write a sugar activity. Using Mono you can use any underlying language like C# or Boo.
Sugar activities are usually written in Python using the [[API_Reference|Python Activity API]]. This page documents how it is possible to use Mono to write a Sugar activity. With Mono, you can use any underlying language like C# or Boo.

This page is on an early stage of writing so can be modify often.



=Overview=
=Overview=


=XO Bundle and Mono Bundle=
=XO Bundle and Mono Bundle=
To use Mono to write an OLPC activity need to prepare a xo bundle with all library inside it.
To write an OLPC Mono activity, you need to prepare a .xo [[Bundle]] including all required libraries. This is necessary because the Mono runtime is not officially supported by the OS images.

This is necessary because this environment is not supported by XO device.


=How to run a Mono activity=
=How to run a Mono activity=
You can find [http://mk8.codewiz.org/wiki/MonkeysMemory-3.xo here] a sample of an activity written using Mono.
You can find [http://mk8.codewiz.org/wiki/MonkeysMemory-3.xo a sample activity] written using Mono.


=Interface with the native subsystem=
=Interface with the native subsystem=
More documentation will be present as soon as possible.
More documentation will be released as soon as possible.

Revision as of 16:58, 27 December 2007

This article is a stub. You can help the OLPC project by expanding it.

Sugar activities are usually written in Python using the Python Activity API. This page documents how it is possible to use Mono to write a Sugar activity. With Mono, you can use any underlying language like C# or Boo.

Overview

XO Bundle and Mono Bundle

To write an OLPC Mono activity, you need to prepare a .xo Bundle including all required libraries. This is necessary because the Mono runtime is not officially supported by the OS images.

How to run a Mono activity

You can find a sample activity written using Mono.

Interface with the native subsystem

More documentation will be released as soon as possible.