Book Image

Learning Xamarin studio

By : William Smith
Book Image

Learning Xamarin studio

By: William Smith

Overview of this book

Table of Contents (16 chapters)
Learning Xamarin Studio
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating your first Android application


Surprisingly, creating your first Android application in Xamarin Studio is slightly simpler than creating the iOS counterpart. I wouldn't get too excited, though, because that's normally not the case. Let's create an Android application:

  1. Within Xamarin Studio navigate to File | New | Solution….

  2. Choose the C# | Android group.

  3. Keep it simple and choose the Android Application project type.

  4. Name your project and click OK.

  5. Click the Build and Run button.

  6. Choose the emulator you want to target.

    Note

    If your emulator hasn't started, the build may succeed but deployment will most likely fail the first time. This is because the Xamarin Studio deployment will timeout if the emulator doesn't return a response quickly enough. The fix is typically very easy, though. Simply wait for the emulator to finish booting up before trying to build and run again.