Book Image

Xamarin 4.x Cross-Platform Application Development - Third Edition

By : Jonathan Peppers
Book Image

Xamarin 4.x Cross-Platform Application Development - Third Edition

By: Jonathan Peppers

Overview of this book

Xamarin is a leading cross-platform application development tool used by top companies such as Coca-Cola, Honeywell, and Alaska Airlines to build apps. Version 4 features significant updates to the platform including the release of Xamarin.Forms 2.0 and improvements have been made to the iOS and Android designers. Xamarin was acquired by Microsoft so it is now a part of the Visual Studio family. This book will show you how to build applications for iOS, Android, and Windows. You will be walked through the process of creating an application that comes complete with a back-end web service and native features such as GPS location, camera, push notifications, and other core features. Additionally, you’ll learn how to use external libraries with Xamarin and Xamarin.Forms to create user interfaces. This book also provides instructions for Visual Studio and Windows. This edition has been updated with new screenshots and detailed steps to provide you with a holistic overview of the new features in Xamarin 4.
Table of Contents (19 chapters)
Xamarin 4.x Cross-Platform Application Development - Third Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Building your first Android application


Setting up an Android application in Xamarin Studio is just as easy as it is for iOS and is very similar to the experience in Visual Studio. Xamarin Studio includes several project templates that are specific for Android to jump-start your development.

Xamarin Studio includes the following project templates:

  • Android App: A standard Android application that targets the newest Android SDKs installed on your machine.

  • Wear App: A project targeting Android Wear, for smartwatch devices.

  • WebView App: A project template for a hybrid app using HTML for certain parts. Support for Razor templating is available.

  • Class Library: A class library that can only be referenced by Android application projects.

  • Bindings Library: A project for setting up a Java library to be called from C#.

  • UI Test App: an NUnit test project for running UI tests either locally or on Xamarin Test Cloud.

  • Unit Test App: This is a special Android application project that can run NUnit tests...