Book Image

Xamarin Cross-platform Application Development

By : Jonathan Peppers
Book Image

Xamarin Cross-platform Application Development

By: Jonathan Peppers

Overview of this book

<p>Developing a mobile application for just one platform is becoming a thing of the past. Companies expect their apps to be supported on both iOS and Android, whilst leveraging the best native features of both. Xamarin’s tools help solve this requirement by giving developers a single toolset to target both platforms.</p> <p>"Xamarin Cross-platform Application Development" is a step-by-step guide for building professional applications for iOS and Android. The book walks you through building a chat application, complete with a backend web service and native features such as GPS location, camera, and push notifications.</p> <p>This book begins with iOS and Android application fundamentals, then moves on to sharing code, and eventually digs deeper into native functionality. By the end of the book, readers will have successfully built a cross-platform application ready for submitting to app stores. You will gain an in-depth knowledge about the concepts of building cross platform applications.</p> <p>"Xamarin Cross-platform Application Development" also covers native iOS and Android APIs, unit testing, building a real web service with Windows Azure, push notifications, interacting with the camera and GPS, leveraging Java and Objective-C libraries, and finally app store submission. Towards the end of the book you will feel confident in developing your own Xamarin applications.</p> <p>"Xamarin Cross-platform Application Development" will teach you everything you need to know to develop an end-to-end, cross-platform solution with Xamarin.</p>
Table of Contents (18 chapters)
Xamarin Cross-platform Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building your first Android application


Setting up an Android application in Xamarin Studio is just as easy as it is for iOS. It's also very similar to the experiences 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 application: A standard Android application that targets the newest Android SDKs installed on your machine

  • Android Honeycomb application: A project that targets Android Honeycomb, which is API (Application Programming Interface) level 12 and above

  • Android Ice Cream Sandwich application: A project that targets Android Ice Cream Sandwich, which is API level 15 and above

  • Android library project: A class library that can only be referenced by Android application projects

  • Android Java bindings library: A project for setting up a Java library to be called from C#

  • Android OpenGL application: A project template to use low-level OpenGL for...