O'Reilly logo

Xamarin Studio for Android Programming: A C# Cookbook by Mathieu Nayrolles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required