Book description
Explore Xamarin.Forms to develop dynamic applications
Key Features
- Explore SQLite through Xamarin to store locations for various location-based applications
- Make a real-time serverless chat service by using Azure SignalR service
- Build Augmented Reality application with the power of UrhoSharp together with ARKit and ARCore
Book Description
Xamarin.Forms is a lightweight cross-platform development toolkit for building applications with a rich user interface.
In this book you'll start by building projects that explain the Xamarin.Forms ecosystem to get up and running with building cross-platform applications. We'll increase in difficulty throughout the projects, making you learn the nitty-gritty of Xamarin.Forms offerings. You'll gain insights into the architecture, how to arrange your app's design, where to begin developing, what pitfalls exist, and how to avoid them. The book contains seven real-world projects, to get you hands-on with building rich UIs and providing a truly cross-platform experience. It will also guide you on how to set up a machine for Xamarin app development. You'll build a simple to-do application that gets you going, then dive deep into building advanced apps such as messaging platform, games, and machine learning, to build a UI for an augmented reality project.
By the end of the book, you'll be confident in building cross-platforms and fitting Xamarin.Forms toolkits in your app development. You'll be able to take the practice you get from this book to build applications that comply with your requirements.
What you will learn
- Set up a machine for Xamarin development
- Get to know about MVVM and data bindings in Xamarin.Forms
- Understand how to use custom renderers to gain platform-specific access
- Discover Geolocation services through Xamarin Essentials
- Create an abstraction of ARKit and ARCore to expose as a single API for the game
- Learn how to train a model for image
- classification with Azure Cognitive Services
Who this book is for
This book is for mobile application developers who want to start building native mobile apps using the powerful Xamarin.Forms and C#. Working knowledge of C#, .NET, and Visual Studio is required.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- www.PacktPub.com
- Foreword
- Contributors
- Preface
- Introduction to Xamarin
-
Building Our First Xamarin.Forms App
- Technical requirements
- An overview of the project
-
Beginning the project
- Setting up the project
- Creating a repository and a TodoItem model
- Using MVVM – creating Views and ViewModels
-
Adding data bindings
- Navigating from the MainView to the ItemView to add a new item
- Adding new items to the list
- Binding the ListView in the MainView
- Creating a ValueConverter for the item status
- Navigating to an item using a command
- Marking an item as complete using a command
- Creating the filter toggle function using a command
- Laying out contents
- Summary
-
A Matchmaking App with a Rich UX Using Animations
- Technical requirements
- Project overview
-
Creating the matchmaking app
- Creating the project
- Designing the MainPage file
- Creating the Swiper control
- Testing the control
- Creating decision zones
- Wiring up the Swiper control
- Summary
-
Building a Location Tracking App Using GPS and Maps
- Technical requirements
- Project overview
- Getting started
- Building the MeTracker app
- Summary
-
Building a Weather App for Multiple Form Factors
- Technical requirements
- Project overview
- Getting started
-
Building the weather app
- Creating models for the weather data
- Creating a service for fetching the weather data
- Configuring the applications to use location services
- Creating the ViewModel class
- Creating a Resolver
- Creating a bootstrapper
- Creating a RepeaterView based on a FlexLayout
- Creating the view for tablets and desktop computers
- Creating the view for phones
- Navigating to different views based on the form factor
- Handling states with VisualStateManager
- Summary
-
Setting up a Backend for a Chat App Using Azure Services
- Technical requirements
- Azure serverless services
- Project overview
-
Building the serverless backend
- Creating a SignalR service
- Creating a storage account
- Creating a Cognitive Service
-
Creating functions
- Creating the Azure service for functions
- Creating a function to return the connection information for the SignalR service
- Creating a message library
- Creating a storage helper
- Creating a function for sending messages
- Using the Computer Vision API to scan for adult content
- Creating a scheduled job to clear photos from storage
- Deploying the functions to Azure
- Summary
- Building a Real-Time Chat Application
- Creating an Augmented-Reality Game
-
Hot Dog or Not Hot Dog Using Machine Learning
- Technical requirements
- Machine learning
- Project overview
- Getting started
- Building the Hot Dog or Not Hot Dog application using machine learning
- Summary
- Other Books You May Enjoy
Product information
- Title: Xamarin.Forms Projects
- Author(s):
- Release date: December 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789537505
You might also like
book
Xamarin.Forms Projects - Second Edition
Learn to build cross-platform mobile apps using the latest features in Xamarin.Forms 4 with the help …
book
Xamarin 4 By Example
Design, develop, and publish your own mobile apps for iOS and Android using C# and Xamarin …
book
Xamarin Blueprints
Leverage the power of Xamarin to create stunning cross-platform and native apps About This Book Helps …
book
Understanding Game Application Development: With Xamarin.Forms and ASP.NET
Learn to build a simple data-driven mobile game application using the power of Xamarin.Forms, ASP.NET, the …