My first Andoid Application
Posted by Samath
Last Updated: April 24, 2012
  871

using System;

using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;

namespace App
{
    [Activity (Label = "App", MainLauncher = true)]
    public class Activity1 : Activity
    {
        int count = 1;

        protected override void OnCreate (Bundle bundle)
        {
            base.OnCreate (bundle);

            // Set our view from the "main" layout resource
            SetContentView (Resource.Layout.Main);

            // Get our button from the layout resource,
            // and attach an event to it
            Button button = FindViewById<Button> (Resource.Id.myButton);
            
            button.Click += delegate {
                button.Text = string.Format ("{0} clicks!", count++); };
        }
    }
}



   
  
 
 
   

 
 
It's Amazing how i can use the C# programming language to create Apps for the android os...

 
my adventure in the world of mobile development begins HERE!!!
 
Soon join you :)