Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Xamarin.Forms Projects
  • Table Of Contents Toc
Xamarin.Forms Projects

Xamarin.Forms Projects - Second Edition

By : Daniel Hindrikes, Johan Karlsson
3.5 (8)
close
close
Xamarin.Forms Projects

Xamarin.Forms Projects

3.5 (8)
By: Daniel Hindrikes, Johan Karlsson

Overview of this book

Xamarin.Forms is a lightweight cross-platform development toolkit for building apps with a rich user interface. Improved and updated to cover the latest features of Xamarin.Forms, this second edition covers CollectionView and Shell, along with interesting concepts such as augmented reality (AR) and machine learning. Starting with an introduction to Xamarin and how it works, this book shares tips for choosing the type of development environment you should strive for when planning cross-platform mobile apps. You’ll build your first Xamarin.Forms app and learn how to use Shell to implement the app architecture. The book gradually increases the level of complexity of the projects, guiding you through creating apps ranging from a location tracker and weather map to an AR game and face recognition. As you advance, the book will take you through modern mobile development frameworks such as SQLite, .NET Core Mono, ARKit, and ARCore. You’ll be able to customize your apps for both Android and iOS platforms to achieve native-like performance and speed. The book is filled with engaging examples, so you can grasp essential concepts by writing code instead of reading through endless theory. By the end of this book, you’ll be ready to develop your own native apps with Xamarin.Forms and its associated technologies, such as .NET Core, Visual Studio 2019, and C#.
Table of Contents (13 chapters)
close
close

Building the photo gallery app

It's time to start building the app using the following steps:

  1. Use the Mobile App (Xamarin.Forms) template. The easiest way to find the template is to search for Xamarin.Forms in the search bar at the top of the dialog that appears when we start Visual Studio:
  1. Name the app GalleryApp:
  1. Select the Blank template, and Android and iOS as the platforms:
  1. Update the NuGet packages that are added by the template to make sure that we use the latest versions. We will do so by right-clicking on the solution file and selecting Manage NuGet Packages for solution. Then, select the Update tab, select all the packages, and click Update.

In this project, we will use some C# 8 features. At the time of writing this book, C# 8 is not the default language version. To use it, you need to add <LangVersion>8.0</LangVersion> to each project file.

Importing photos

Importing photos is something that is carried out for both the platforms, so we will create...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Xamarin.Forms Projects
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon