Free Sample
+ Collection

Xamarin Essentials

Mark Reynolds

Learn how to efficiently develop Android and iOS apps for deployment using the Xamarin platform
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783550838
Paperback234 pages

About This Book

  • Explore the Xamarin platform and understand the architecture behind Xamarin.iOS and Xamarin.Android
  • Learn how to build and run iOS and Android apps using Xamarin Studio and Visual Studio
  • This is a practical tutorial with a clear and concise approach that teaches you how to create, share, and reuse code across your iOS and Android apps

Who This Book Is For

If you are an experienced iOS and Android developer and have a desire to learn about the Xamarin platform, then you will find this tutorial to be the most efficient, interesting, and relevant path. You will find this guide to be especially useful if you wish to become proficient in creating apps using the Xamarin platform, as Xamarin Essentials teaches you the fundamentals of iOS and Android development.

Table of Contents

Chapter 1: Xamarin and Mono – a Pathway to the Unnatural
Understanding Mono
The Xamarin product suite
Evaluating whether Xamarin is the right tool
Learning C#
Installing Xamarin
Development environments
Chapter 2: Demystifying Xamarin.iOS
Xamarin.iOS and Ahead-of-Time compilation
Understanding Mono assemblies
Xamarin.iOS bindings
Creating binding libraries
Memory management
Limitations of using the AOT compilation
Generating code for XIB and storyboard files
Xamarin.iOS Designer
Chapter 3: Demystifying Xamarin.Android
Mono CLR and Dalvik VM – working side by side
Xamarin.Android application packaging
Understanding Mono assemblies
Xamarin.Android bindings
Attributes for the ApplicationManifest.xml file
Editor for the ApplicationManifest.xml file
Garbage collection
Xamarin.Android Designer
Chapter 4: Developing Your First iOS App with Xamarin.iOS
The sample national parks app
Creating the sample app
Running and debugging within Xamarin Studio
Extending the sample app
Finishing the sample app
Chapter 5: Developing Your First Android App with Xamarin.Android
The sample app
Creating NationalParks.Droid
Reviewing the app
Running and debugging with Xamarin Studio
Extending NationalParks.Droid
Working with Xamarin.Android projects in Visual Studio
Reviewing the generated elements
Chapter 6: The Sharing Game
Sharing and reuse
Old school source file linking
Portable Class Libraries
The pros and cons of the code-sharing techniques
Chapter 7: Sharing with MvvmCross
Introducing MvvmCross
Creating NationalParks.MvvmCross
Considering the pros and cons
Chapter 8: Sharing with Xamarin.Forms
An insight into the Xamarin.Forms framework
Creating the NationalParks Xamarin.Forms app
Considering the pros and cons
Chapter 9: Preparing Xamarin.iOS Apps for Distribution
Preparing for distribution
Distributing Xamarin.iOS apps
Chapter 10: Preparing Xamarin.Android Apps for Distribution
Preparing for a release APK
Publishing a release APK
App distribution options

What You Will Learn

  • Familiarize yourself with the set of Mono-based commercial products offered by the Xamarin platform
  • Get to grips with the architecture behind Xamarin.iOS and Xamarin.Android
  • Develop Xamarin apps using Xamarin Studio and/or Visual Studio
  • Create a user interface using Xamarin.iOS Designer
  • Build, run, and debug iOS and Android apps
  • Increase code reuse using frameworks such as MvvmCross and Xamarin.Forms
  • Prepare iOS and Android apps for distribution

In Detail

Xamarin is a Mono-based suite of products that allows developers to create iOS and Android apps using C# and .NET.

This learning guide is your first port of call to quickly learn Xamarin. Starting with the foundations by understanding the architecture behind Xamarin.iOS and Xamarin.Android, you will be guided through creating your first Xamarin.iOS and Xamarin.Android applications. In addition, you will learn how to utilize frameworks such as MvvmCross and Xamarin.Forms to increase the amount of code reuse. To conclude your journey, you will be shown how to develop your own Xamarin apps for distribution.

Xamarin Essentials is the guide to use in order to quickly gain practical working knowledge of developing robust commercial mobile apps using C# and sharing large portions of your code base across iOS and Android apps.


Read More