Building a Hello World App!

It's now time to get our hands dirty and write some simple code by ourselves to output the famous Hello World message. In this recipe, we will create a new Android project in Xamarin Studio. This project will lead to an Android app that outputs Hello World! after pressing on a Say Hello! button. This first application will run in the simulator and on a real Android Device. Moreover, this application will allow us to discover the architecture of an Android project, the same as its specificities.

Getting ready

For this recipe, we will need to have successfully installed the Xamarin Studio tool suite and run the emulator at least once in order to confirm that everything is working well.

How to do it...

  1. Run Xamarin Studio, ...

Get Xamarin Studio for Android Programming: A C# Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.