Thursday, March 10, 2011

Hello world on monodroid

I started with monodroid recently . When you start you notice the programming structure is very different.
Droid stuff starts off with a Activity class. this is where the application starts, its like our very own program.cs.
Lets begin at the beginning
in visual studio 2010, the android template see installation instructions here :
visual studio writes a start up application for you. once you  run it
the emulator starts off and the program is deployed to the emulator.
I directly ran the code VS wrote, and it did come up with a decent looking program that had a button that counted the number of clicks.
The code in the class itself is not used for the UI, there is a Xaml file that is used for this purpose.
I will work on creating some UI and update  soon hopefully.

No comments:

Post a Comment