Xamarin Essentials

Learn how to efficiently develop Android and iOS apps for deployment using the Xamarin platform

Xamarin Essentials

Essentials
Mark Reynolds

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

Instantly access this course right now and get the skills you need in 2016

With unlimited access to a constantly growing library of over 3,500 courses, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

+ Collection
Free Sample

Book Details

ISBN 139781783550838
Paperback234 pages

Book Description

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.

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
Summary
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
Summary
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
Summary
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
MonoTouch.Dialog
Summary
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
Summary
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
Summary
Chapter 7: Sharing with MvvmCross
Introducing MvvmCross
Creating NationalParks.MvvmCross
Considering the pros and cons
Summary
Chapter 8: Sharing with Xamarin.Forms
An insight into the Xamarin.Forms framework
Creating the NationalParks Xamarin.Forms app
Considering the pros and cons
Summary
Chapter 9: Preparing Xamarin.iOS Apps for Distribution
Preparing for distribution
Distributing Xamarin.iOS apps
Summary
Chapter 10: Preparing Xamarin.Android Apps for Distribution
Preparing for a release APK
Publishing a release APK
App distribution options
Summary

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

Authors

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
Summary
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
Summary
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
Summary
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
MonoTouch.Dialog
Summary
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
Summary
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
Summary
Chapter 7: Sharing with MvvmCross
Introducing MvvmCross
Creating NationalParks.MvvmCross
Considering the pros and cons
Summary
Chapter 8: Sharing with Xamarin.Forms
An insight into the Xamarin.Forms framework
Creating the NationalParks Xamarin.Forms app
Considering the pros and cons
Summary
Chapter 9: Preparing Xamarin.iOS Apps for Distribution
Preparing for distribution
Distributing Xamarin.iOS apps
Summary
Chapter 10: Preparing Xamarin.Android Apps for Distribution
Preparing for a release APK
Publishing a release APK
App distribution options
Summary

Book Details

ISBN 139781783550838
Paperback234 pages
Read More

Read More Reviews