Mono for Android Components(Part 2)



Mono for Android Components(Part 2)

Mono for Android is made up of a set of assemblies, namespaces, and classes that are optimized for
mobile platforms. This code is a combination of the .NET 4, Silverlight, and Windows Phone profile
 as well as code that allows a developer to take advantage of the Android platform.

Namespaces and Classes
Mono for Android provides a rich set of namespaces and classes to support building applications for
the iPhone. Here are some of the most popular assemblies and the functionality that they provide:
Mono.Android.dll: This assembly provides the C# bindings to the Android APIs. This
includes namespaces that support the Android.* namespaces.

 System.dll: This assembly provides much of the .NET Framework functionality for Mono
for Android

 Mono.data.Sqlite.dll: This assembly is an ADO.NET provider for the native SQLite
database.

 Mono.Data.Tds.dll: This assembly provides the support for the TDS protocol, which is
used to connect to SQL Server.

 OpenTK.dll: This assembly has support for OpenGL.

 System.Json.dll: This assembly provides support for using JSON.

 System.ServiceModel.dll: This assembly provides support for WCF.

 System.Xml.dll: This assembly provides support for XML.

 System.Xml.Linq.dll: This assembly provides support for LINQ to XML.

Within these assemblies, Mono for Android also provides namespaces that may be important to
you. These are:

 Android: The Android.* namespace provides resources, classes, and application permission
support.

 Android.Bluetooth: This namespace provides support for Bluetooth.

Android.Database: This namespace provides support for the SQLite database on the
device.

 Android.Graphics: This namespace provides support for graphic display.

 Android.Hardware: This namespace provides support for hardware on an Android device
such as the camera.

 Android.Locations: This namespace provides the necessary support for location.

 Android.Net: This namespace provides support for networking, including support for Voice
over IP (VoIP) and WiFi.

These namespaces are a small subset of what is available inside of Mono for Android and are fairly
self-explanatory in their functionality. Also, these namespaces are specific to Android. Code that is
written using these namespaces will only run on Android-based devices.
Mono for Android Components(Part 2) Mono for Android Components(Part 2) Reviewed by Unknown on 7:13 AM Rating: 5

No comments:

Powered by Blogger.