Friday, 20 April 2012

Andriod Apps using C# + Visual Studio

I recently picked up a habit of building Android Application using C# and Visual Studio as I an quiet comfortable with the language and IDE

I use Mono for Android plugin : read more: http://xamarin.com/monoforandroid

It has been really fun I must say, so much planned around, will also be integrating the android app I am building with CRM 2011

Quick things to share:

The GUI is build through an Xml markup called AXML - this is andriod's version of  xaml (Xaml is a markup used on Microsoft's WPF, Silverlight and Windows Phone 7(Mango) GUIs)

Android Controls are called Views

e.g

Android Textbox = EditView
Android Label = TextView
Button = Button
Spinner = Dropdownbox

For example this AXML


below produces a UI like the one below



And Yes the Code is C# - it uses a WCF Service call to login the user 



This is fun, I might be uploading this on Code Project - just look and listen






No comments:

Post a Comment