Sample Applications

AnalogClock

AnalogClock is a classic clock containing hour, minute, and second hands, with a circle of tick marks showing minutes and hours. A

AsyncAwait

This sample was first presented in the Xamarin Introduction to C# 5 Async webinar on August 15th, 2013. Re-live the excitement with

Background Location Demo

This is a cross platform sample, which demonstrates how to properly perform location updates while the application is either Active or

Bluetooth LE Explorer

Bluetooth LE Explorer is a cross-platform app that lets you scan for nearby Bluetooth Low Energy devices, connect to them,

Content Controls

iOS Illustrates simple and advanced usage of the following content controls: Web View, Map View, Search Controller, Navigation

Embedded Resource

This sample illustrates how to load a resource that has been built into the assembly by setting its build type to EmbeddedResource.

MultiTasking

Simple example of using a background thread to perform a long running task. Includes two examples: updating the UI thread on

MWC 2012

MWC 2012 is an open-source conference schedule application for www.mobileworldcongress.com in Barcelona, Spain (February

Phoneword

Very simple example of sharing C# code across four platforms: iOS, Android, Windows Phone 7 and Windows 8. Also includes a

Accelerometer Play

This sample demonstrates usage of the accelerometer to animate balls rolling on a wooden table.

Standard Controls

iOS This example application illustrates how to use a number of standard controls including: * Action Sheet *

Tables and Lists

iOS This sample illustrates the various table and cell styles available out of the box, as well as illustrates how to create

Tasky

Tasky is a simple cross-platform todo/task application sample that allows you to track todo/task items. It illustrates proper

Tasky Portable

Tasky is a simple cross-platform todo/task application sample that allows you to track todo items (tasks). This version uses

Tasky Pro

Tasky is a simple cross-platform todo/task application sample that allows you to track todo/task items. It illustrates proper

TipCalc

TipCalc is a tip calculator which follows my specific requirements: 1. The tip includes the pre-tax value ("Subtotal"), not the

Touch

This sample illustrates how to work with touch in iOS. Specifically, it shows how to handle touch events, use pre-defined gesture

Admob Sdk Binding Sample

This is a Java binding project sample for Google AdMob SDK. AdMob SDK is included in Android SDK extras package. To get

 

ActivityLifecycle Demos

Four sample projects that cover advanced activity and application lifecycle scenarios in Android: * ActivityLifecycle - Handling

Advanced Immersive Mode

Android 4.4 introduces a way for you to provide a more immersive screen experience in your app, by letting users show or hide the

HelloSwipeViewWithTabs

Author: Richard Lander -- rlander@microsoft.com License: Apache 2 This sample app demonstrates how to use ViewPager and

 

Android Beam Demo

This is a port of Android SDK samples. It demonstrates new Android Beam (new NFC feature) in Ice Cream Sandwich.

Android API Demo

This sample includes a variety of small applications that illustrate the use of various Android APIs. It includes samples of: -

AsyncImageAndroid

This sample application demonstrates how to use the new Async/Await feature which is available in Xamarin.Android 4.8. The

Bluetooth Chat

This is a port of the Android Level 8 SDK samples. It demonstrates using the Bluetooth APIs to create a sample chat client.

Button Widget

Shows how to use a simple button widget.

Calendar Demo

This example shows how to use the calendar API to list calendars and events. It also shows how to add an event and view it using the

Borderless Buttons

This sample demonstrates the **borderless button** styling from the Holo visual language. The most interesting bits in this sample

ContactsProvider Demo

This example shows how to use the ContactsProvider as well as the device owner's profile in Ice Cream Sandwich.

Content Provider Demo

Just a small example showing how a Content Provider can be implemented in Mono for Android. I used this

Contact Manager

This sample demonstrates how to interact with Android's contact manager.

How to build the entire package from source

Prerequisites - Android SDK. - Environment variable ANDROID_HOME=/path/to/the/sdk - Environment variable PATH must

C# Dynamic Test

This samples makes use of dynamic types in DLR. This sample imports System.Json from ASP.NET MVC sources which includes

Working With Audio – Test Application

Sample code to accompany the article Working With Audio. This simple application provides the following functionality: *

 

ExportAttributeTest

This is a functional test for "ExportAttribute" which is new in Mono for Android 4.2. This contains sample code for

 

GestureBuilder

This is a port of Android SDK sample "GestureBuilder" which is a showcase for android.gesture API. Authors Android Open

GL Rotating Cube

This sample demonstrates simple drawing via OpenTK's GL APIs by drawing a rotating cube.

GL Rotating Cube

This sample demonstrates simple drawing via OpenTK's GL APIs by drawing a rotating cube.

 

GL Diagnostics

This sample tests all possible graphics configuration options and outputs valid ones.

 

GL Diagnostics

This sample tests all possible graphics configuration options and outputs valid ones.

 

GL Diagnostics

This sample tests all possible graphics configuration options and outputs valid ones.

GL Triangle 20

OpenGL ES 2.0 Demonstration. Requirements There is one requirement to run this sample: 1. A device with OpenGL

GL Triangle 20

OpenGL ES 2.0 Demonstration. Requirements There is one requirement to run this sample: 1. A device with OpenGL

GL Triangle 20

OpenGL ES 2.0 Demonstration. Requirements There is one requirement to run this sample: 1. A device with OpenGL

GridLayout Demo

This example shows how to use a GridLayout with Ice Cream Sandwich.

Hello Mono for Android

This is a super simple hello world application. It displays a message in a TextView when a Button is pressed.

Hello Multiscreen

This is a simple example showing how to use activities to create multiscreen applications.

ICS Tabs Demo

This example shows how to use tabs from the Action Bar in Ice Cream Sandwich.

Hello World

This is a super simple hello world application. It uses a TextView to display a plain old hello world message via a string resource.

Honeycomb Gallery

This is a port of Android SDK samples. It demonstrates a couple of new APIs in Honeycomb e.g. fragments, ActionBar and the

Jet Boy

A simple game demonstrating usage of the JET audio engine.

Java Native Invoke Sample

This sample shows how to manually bind to a Java library so it can be consumed by a Mono for Android application. Note this

KitKat

This sample provides an overview of new features of Android 4.4 "KitKat". Features include: - *User Interface*: basic property

Labelled Sections

The `Labelled Sections` demo is a port from the [Alphabetically ordered ListView with labelled

Live Wallpaper Demo

This sample demonstrates various forms of live wallpapers: * A live Google Maps wallpaper. * A rotating cube. * A

Android Location Services Sample

This sample provides an example of gathering location data using the Android location system service, as explained in the Android

Maps and Location Demo

This is the sample code for the [Maps and Location article](http://docs.xamarin.com/android/tutorials/Maps_and_Location). The code in

Google Maps Demo

This demo shows how to use Managed Google Maps API. It uses Google Maps API which is part of Android SDK add-ons. Since

Google IO 2011 App in Mono for Android

This is a port of the [Google IO 2011 Schedule App][1] - it only works on Android 2.2 to Android 4.0.3 and it is not a port of the

Multi-Resolution Graphics

This sample demonstrates how to display scalable/stretchable graphics using proper size units such as scale-independent pixels (sp)

Notepad Sample (Mono.Sqlite)

This sample shows a simple note taking application. This sample uses MFA's included Mono.Data.Sqlite. If you want to see a

Popup Menu Demo

This example shows how to use a Popup Menu with Ice Cream Sandwich.

Rotation Demo

This is the sample code for the article Handling Rotation. It shows various techniques for working with device orientation

Mono San Angeles sample port

This is a port of Android NDK sample (sanangeles). The project contains pre-compiled libsanangeles.so under libs

Sanity Tests

SanityTests is a hodgepodge of things to test various interactions, such as SQLite use, JNI use, P/Invoke use, SSL, compression, and

Searchable Dictionary v2

This is a port of the Android Searchable Dictionary v2 sample. It demonstrates using Android's search framework.

Service Samples

Example code from the **Creating Services** article. Contains two solutions: ###DemoService Sample code from first

ShareActionProvider Demo

This example shows how to use the ShareActionProvider to share an image using Ice Cream Sandwich.

Simple Widget

This sample shows a simple widget which fetches the word of the day from Wiktionary. To Run * Deploy to target

Skeleton App

This is a simple application with an EditText control and clear/back buttons, plus a custom picture.

Snake

A plain old Snake game based on a TileView.

FusedLocationProvider Sample

This sample provides an example of gathering location data using the FusedLocationProvider, available as part of Google Play services.

Storage Provider

This sample demonstrates how to use the DocumentsProvider API to manage documents and expose them to the Android system for

Storage Client

This sample demonstrates how to use the ACTION_OPEN_DOCUMENT intent to let users choose a file via the system's file browser. This

Switch Demo

This example shows how to use a switch control with Ice Cream Sandwich.

System UI Visibility Demo

This example shows how to change the appearance of the Navigation Bar in Ice Cream Sandwich.

svg-android binding

It is a binding example for svg-android Java library. svg-android project is located at: svg-android is under Apache

GL Textured Cube

This sample demonstrates a rotating cube rendered with textures via OpenTK's GL APIs.

Swipe to Refresh

This sample demonstrates how to implement the swipe to refresh pattern using the support library `SwipeRefreshLayout` class.

GL Textured Cube

This sample demonstrates a rotating cube rendered with textures via OpenTK's GL APIs.

 

GL Textured Cube

This sample demonstrates a rotating cube rendered with textures via OpenTK's GL APIs.

TextureView Demo

This example shows how to use a TextureView with Ice Cream Sandwich. A device is required for this example as the TextureView

ViewPagerIndicator

This is a port of the wonderful [ViewPagerIndicator library by JakeWharton][1] License Copyright 2011 Patrik

WebView JavaScript Interface

This demonstrates C# - to - JavaScript interoperability in WebView (through Java interface). For the API details,