Cross-platform UI Development with Xamarin.Forms

Create a fully operating application and deploy it to major mobile platforms using Xamarin.Forms
Preview in Mapt

Cross-platform UI Development with Xamarin.Forms

Paul F. Johnson

1 customer reviews
Create a fully operating application and deploy it to major mobile platforms using Xamarin.Forms
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Cross-platform UI Development with Xamarin.Forms Book Cover
Cross-platform UI Development with Xamarin.Forms
$ 35.99
$ 10.00
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition Book Cover
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition
$ 39.99
$ 10.00
Buy 2 for $20.00
Save $55.98
Add to Cart

Book Details

ISBN 139781784391195
Paperback330 pages

Book Description

Xamarin is an IDE used for the development of native iOS, Android, and Windows, and cross-platform mobile applications in C#. For the mobile developer, that means learning three different languages to create the same application. Even if you use the Xamarin toolchain, you still need to work with three different user interface construction sets. Xamarin is essentially a container in which developers can write any application in C# and use the Xamarin compiler to package and deploy on Android, iOS, or Windows platforms. To top this, Xamarin.Forms plays the role of a single codebase for mobile applications.

This book will show you, with fully-coded examples, how to use both the Xamarin toolchain and the Xamarin.Forms library to code once for the three platforms. It goes from the concept and design of a mobile messenger application to its execution. You will be introduced to Messenger—the messaging app—which includes key features such as push notifications, UI, maps, databases, and web services. Next, you will learn to plan the UI using Xamarin.Forms for cross-mobile platform development, and move on to creating custom buttons, extending the UI, and connecting to social sites such as Facebook and Twitter.

You will also learn about the limitations of PCL libraries and how they make coding easier. This will be followed by the creation of a SQLite database and a database manager, and the SQLite database’s reflection within the database manager. You will then be taken through the use of hardware features with ample coverage of iOS, Android, and Windows Mobile. Finally, the book will conclude by introducing common strategies that allow you to create applications that “just work” without having to reinvent the wheel each time.

Table of Contents

Chapter 1: In the Beginning…
Application planning
Summary
Chapter 2: Let's Get the Party Started
What is Xamarin Forms?
Instantiating Xamarin Forms within an app
Dependency injection
Customizing the UI
Gestures, maps, and WebViews
Summary
Chapter 3: Making It Look Pretty and Logging In
Introducing the standard UI login experience
Summary
Chapter 4: Making Your Application Portable
PCLs – the pros and cons
Writing your PCL library
Other options for PCL
Summary
Chapter 5: Data, Generics, and Making Sense of Information
A history lesson
.NET generics
LINQ me up baby – yeah!
The database helper class
Too much information!
Summary
Chapter 6: A View to a Kill
Touch-a-touch-a-touch me
Summary
References
Chapter 7: Connect Me to Your Other Services
Let's take a REST
The Windows Communication Framework
Summary
References
Chapter 8: What a Bind!
A bit of a history lesson
Binding the mobile arena
Summary
Chapter 9: Addressing the Issue
Addressing issues
Summary
Chapter 10: This is the World Calling…
Using GPS and push notifications
Summary
Chapter 11: A Portable Settings Class
The native platform storage
Constructing a persistent and cross-platform settings system
Is there an alternative?
Summary
Chapter 12: Xamarin Forms Labs
What is Xamarin Forms Labs?
Summary
Chapter 13: Social Media into the Mix
Connect me up, Scotty
Setting up the event system and interface
Setting up your Android code
Setting up iOS
Setting up Windows Phone
Adding social media to your app
OAuth1 for Twitter
Using OAuth2
The user interface
Summary
References
Chapter 14: Bringing It All Together
Setting up Azure
Setting up the application
The Azure Storage
The messenger application
And that's it!
Summary

What You Will Learn

  • Create a responsive UI, modified to suit the target platform
  • Understand the basics of designing an application, and the considerations needed for target platforms
  • Construct a complete app using a single codebase
  • Develop attractive user interfaces
  • Bind information to the code behind to generate a reactive application
  • Design an effective portable class library (PCL)
  • Include a Windows Mobile application within your standard Xamarin.Forms application
  • Extend your applications using the Xamarin.Forms Labs library

Authors

Table of Contents

Chapter 1: In the Beginning…
Application planning
Summary
Chapter 2: Let's Get the Party Started
What is Xamarin Forms?
Instantiating Xamarin Forms within an app
Dependency injection
Customizing the UI
Gestures, maps, and WebViews
Summary
Chapter 3: Making It Look Pretty and Logging In
Introducing the standard UI login experience
Summary
Chapter 4: Making Your Application Portable
PCLs – the pros and cons
Writing your PCL library
Other options for PCL
Summary
Chapter 5: Data, Generics, and Making Sense of Information
A history lesson
.NET generics
LINQ me up baby – yeah!
The database helper class
Too much information!
Summary
Chapter 6: A View to a Kill
Touch-a-touch-a-touch me
Summary
References
Chapter 7: Connect Me to Your Other Services
Let's take a REST
The Windows Communication Framework
Summary
References
Chapter 8: What a Bind!
A bit of a history lesson
Binding the mobile arena
Summary
Chapter 9: Addressing the Issue
Addressing issues
Summary
Chapter 10: This is the World Calling…
Using GPS and push notifications
Summary
Chapter 11: A Portable Settings Class
The native platform storage
Constructing a persistent and cross-platform settings system
Is there an alternative?
Summary
Chapter 12: Xamarin Forms Labs
What is Xamarin Forms Labs?
Summary
Chapter 13: Social Media into the Mix
Connect me up, Scotty
Setting up the event system and interface
Setting up your Android code
Setting up iOS
Setting up Windows Phone
Adding social media to your app
OAuth1 for Twitter
Using OAuth2
The user interface
Summary
References
Chapter 14: Bringing It All Together
Setting up Azure
Setting up the application
The Azure Storage
The messenger application
And that's it!
Summary

Book Details

ISBN 139781784391195
Paperback330 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Xamarin.Forms Book Cover
Mastering Xamarin.Forms
$ 23.99
$ 10.00
Xamarin Blueprints Book Cover
Xamarin Blueprints
$ 43.99
$ 10.00
Mastering Cross-Platform Development with Xamarin Book Cover
Mastering Cross-Platform Development with Xamarin
$ 35.99
$ 10.00
Xamarin: Cross-Platform Mobile Application Development Book Cover
Xamarin: Cross-Platform Mobile Application Development
$ 69.99
$ 10.00
Mastering Xamarin UI Development Book Cover
Mastering Xamarin UI Development
$ 39.99
$ 10.00
Android Programming for Beginners Book Cover
Android Programming for Beginners
$ 39.99
$ 10.00