verticalfert.blogg.se

Xo sample manager
Xo sample manager












  1. #XO SAMPLE MANAGER HOW TO#
  2. #XO SAMPLE MANAGER SOFTWARE#
  3. #XO SAMPLE MANAGER CODE#
  4. #XO SAMPLE MANAGER DOWNLOAD#

The need to inherit from the Sugar.Window class to access the low level communication with the Sugar API. The MainWindow's constructor is responsible for the window initialization: it creates controls and sets up event handlers. NET WinForms developer, the Gtk framework should look familiar to you. Void OnClick( object sender, EventArgs a) Void OnMainWindowDelete( object sender, DeleteEventArgs a) _button.Clicked += new EventHandler(OnClick) Label _text = new Label( " Hello Lab Activity") This.DeleteEvent += new DeleteEventHandler(OnMainWindowDelete) Public MainWindow( string activityId, string bundleId) Public new static string activityId = " "

#XO SAMPLE MANAGER CODE#

Here is the source code to create the main window for the Activity: Right click on References, "Edit References…", choose the ".NET Assembly" sheet, and select the right assembly. We just need to add the Sugar.dll assembly. Let's now configure this solution to add the Sugar binding. We're using the Gtk# template because Sugar is based on Gtk.

  • Fill the form with "LabActivity" as the name.
  • Create a new solution (File/New Solution…), choose a "C# / Gtk# 2.0 Project" template.
  • Launch MonoDevelop (Applications/Programming/MonoDevelop).
  • MonoDevelop lets you edit and package a Mono application. To create our first activity, we're going to use MonoDevelop. The Sugar.dll assembly is need for the sample described here. Most Sugar APIs are callable from this assembly. Torello wrote an year ago a C#/Sugar binding to let you use Mono Torello Querci is a contributor to the Mono project. If you want to create newĪpplications (named "Activities"), Sugar will provide you a large number of Python APIs for that. Python is a scripting language so it's a good tool to let users customize the system. EXE resulting file is not directly executable on Linux so you should NET developer, this sample should look familiar to you. The following screen capture shows a very basic sample in Mono using a command line compiler. The word "binding" means that it allows a call to native libraries directly from C# source code. Gtk# is a "binding" for the Gtk+ GUI toolkit. The most important one is Gtk# which allows building of Gnome applications Mono comes with some unique C#-based components, libraries, and frameworks. To the ECMA organization for standardization. The project implements technologies developed by Microsoft and submitted Is to enable Linux developers to build and deploy cross-platform. The Mono project is an open development initiative to develop an Open Source version of the Microsoft. More importantly, most of the interface can be handledīy children who haven't yet been taught to read. Sugar has a unique window manager with simplified concepts that every child can understand very quickly. However, Sugar could also be used on other Linux distributions (Debian, Fedora, Mandriva. Technically speaking, Sugar is based on Fedora Core Linux and on the Gnome user interface. On the XO laptop but on every other laptop. Sugar is supported by a large community of developers and teachers around the world. On 800,000 XO distributed to developing countries. The Sugar Learning Platform promotes collaborative and critical-thinking learning. Sugar is the Operating System of the XO laptop.

    xo sample manager

    The laptops use a wide range of DC power inputs (including wind-up and solar). To its nearest neighbors, creating an ad hoc local-area network (based on the 802.11s standard). The laptops have wireless broadband that allow them to work with a standard access point or as a mesh network-each laptop is able to talk The laptops have a 433 MHz processor and 256 MB of DRAM, with 1GB of NAND flash memory (there is no hard disk). The XO is an innovative hardware design, with a dual-mode display-both a full-color transmissive mode and a black and white

    #XO SAMPLE MANAGER SOFTWARE#

    Low-power, connected laptop with content and software designed for collaborative, joyful, self-empowered learning. The mission of the OLPC project is to provide educational opportunities for the world's poorest children by providing each child with a rugged, low-cost, The One Laptop per Child association develops a low-cost laptop-the "XO Laptop"-to revolutionize how we educate the world's children. Introduction About the OLPC project and the XO I will use C# and Mono to create a new "activity" which works on the XO and on the Sugar emulator included in the downloadable virtual machine.

    #XO SAMPLE MANAGER HOW TO#

    This article will teach you how to develop an application for Sugar and the XO, the OLPC project machine.

    #XO SAMPLE MANAGER DOWNLOAD#

    Download the Ubuntu virtual machine with the development environment - Warning: 1.2 GB.














    Xo sample manager