Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Xamarin.Forms Projects

You're reading from   Xamarin.Forms Projects Build seven real-world cross-platform mobile apps with C# and Xamarin.Forms

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher Packt
ISBN-13 9781789537505
Length 416 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Daniel Hindrikes Daniel Hindrikes
Author Profile Icon Daniel Hindrikes
Daniel Hindrikes
Johan Karlsson Johan Karlsson
Author Profile Icon Johan Karlsson
Johan Karlsson
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction to Xamarin 2. Building Our First Xamarin.Forms App FREE CHAPTER 3. A Matchmaking App with a Rich UX Using Animations 4. Building a Location Tracking App Using GPS and Maps 5. Building a Weather App for Multiple Form Factors 6. Setting up a Backend for a Chat App Using Azure Services 7. Building a Real-Time Chat Application 8. Creating an Augmented-Reality Game 9. Hot Dog or Not Hot Dog Using Machine Learning 10. Other Books You May Enjoy

Building the weather app

It's time to start building the app. Create a new blank Xamarin.Forms app using .NET Standard as the Code Sharing Strategy, and select iOS, Android, and Windows (UWP) as the platforms. We will name the project Weather.

As the data source for this app, we will use an external weather API. This project will use OpenWeatherMap, a service that offers a couple of free APIs. You can find this service at https://openweathermap.org/api. We will use the service called 5 day / 3 hour forecast in this project, which provides a five-day forecast in three-hour intervals. To use the OpenWeather API, we have to create an account to get an API key. If you don't want to create an API key, we can mock the data instead.

Creating models for the weather data

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime