Sample Code

This page offers links to sample code and applications. These simple examples demonstrate such concepts as UI widgets, library APIs, standard dialogs, and more.

Simple Applications UI Components Mobile Linux

Simple Applications
Our Basic C++ Hildon Application This sample code corresponds to our document Developing a Basic C/C++ Hildon Application. It contains three hello world programs, each introducing new concepts and building on the last. Download
Cire - Our Ported GTK Application This is a sample of the application Cire that we ported to Moblin. The code corresponds to our document  Porting an Existing GTK Application. Download
Maemopad - Our Ported Maemo Application This is a sample of the application Maemopad that we ported to Moblin. The code corresponds to our document  Porting an Existing Maemo Application Download
Our Control Panel Applet This simple hello world applet corresponds to our document Developing a Basic Control Panel Applet. Download
Our Status Bar Plug-in This simple hello world plug-in corresponds to our document Developing a Basic Status Bar Plug-in. Download
Our Marquee Plug-in This simple hello world plug-in corresponds to our document Developing a Basic Marquee Plug-in. Download
Our Basic Python Application This hello world python script corresponds to our document Developing a Basic Python Application. Download

UI Components
Tic Tac Toe - Demonstrating the Moblin Theme This sample application, Tic Tac Toe, demonstrates properly  using the Moblin Gnome Theme. It corresponds with our document Using the Moblin Theme. Download
Our Sample Applets using Dialogs on Small Devices These samples correspond to our document  Dialogs on Small Devices. There are three applets, each introducing new concepts and building on the last. Download

Download

Download

Our Standard Menu Sample This sample demonstrates creating a standard, simplified menu structure and  corresponds to our document Standard Menu Structure. Download

Mobile Linux
Our Sample of Using LibOSSO Commands This sample corresponds to our document Programming with the LibOSSO API. Download
Our Sample of Using D-Bus Commands This sample corresponds to our document D-Bus Programming. Download