Building Apps for the Universal Windows Platform

Explore Windows 10 Native, IoT, HoloLens, and Xamarin

Ayan Chatterjee

at a Glace

Introduction to Windows Universal
Elementary Concepts
The Windows 10 Experience
Windows with Mouse and Keyboard
Windows with Touch
Internet of Things (IoT)
Wearables
Windows 10 for Advanced Users
Cross Platform with Xamarin
Ready for the Store
Application Analytics

e-books shop
e-books shop
Purchase Now !
Just with Paypal



Book Details
 Price
 2.50 USD
 Pages
 278 p
 File Size
 10,452 KB
 File Type
 PDF format
 ISBN-13 (electronic) 
 ISBN-13 (pbk)
 978-1-4842-2629-2
 978-1-4842-2628-5
 Copyright   
 2017 by Ayan Chatterjee 

About the Author
Ayan Chatterjee has over four years of experience
developing for Windows Store, five years of research,
and is personally involved with Windows Store
for Business (previously known as MSADP within
Microsoft). He holds a Master of Technology in
Computer Science and has contributed to several
enterprises involved with Windows Store.
Follow Ayan on Twitter at @apphub365 or LinkedIn

About the Technical Reviewer
Manish Sharma is a Senior Technology Evangelist
at Microsoft. He has 14 years of experience with
various organizations and is primarily involved in technological enhancements.
He is an expert in data (Lucene, Solr, MongoDB,
Cassandra, DocumentDB, Elastic Search, MarkLogic,
Azure Search, etc.) and cloud (Azure, AWS, SoftLayer,
OpenStack, etc.) technologies. Most recently he
worked on .NET, UWP, client-server architecture-based
applications, SOA integration projects, and helping
ISVs (software product organizations) to optimize their
applications on Microsoft Azure.
He has expertise in telecom and has exposure with various other domains like BFSI,
commodity trading, and retail.
He is a certified Azure Solution Architect, Cloud Data Architect, .NET Solution
Developer, and PMP Certified Project Manager. He is a regular speaker at various
technical conferences organized by Microsoft (FutureDecoded, Azure Conference, and
specialized webinars) and community events (GIDS, Docker, etc.) 
for client-server, cloud, and data technologies.
He is an author at Open Source For You (OSFY) magazine.
Follow Manish on Twitter at @manisharma_ms or LinkedIn at www.linkedin.com/in/mannu2050/.

Table of Contents
About the Author .............................................................................. xi
About the Technical Reviewer ........................................................ xiii
Introduction ..................................................................................... xv
■Chapter 1: Introduction to Windows Universal
Windows 10 and UWP ............................................................................. 4
.NET Languages and Architecture ........................................................... 7
Installing Visual Studio and Components ................................................ 8
UWP and Cross-Platform Xamarin ......................................................... 13
Setting Up a New Project ...................................................................... 14
■Chapter 2: Elementary Concepts
Object-Oriented Programing ................................................................. 22
Function, Class, and Solution ................................................................ 23
Conditional Statements and Loops ........................................................ 25
If-else and the Conditional Operator .......................................................................26
Switch Case ............................................................................................................27
For Loop ..................................................................................................................29
While (and Do-While) Loops ...................................................................................29
Data Types ............................................................................................. 30
Numbers .................................................................................................................31
Alphabets and Special Characters ..........................................................................32
Application Life Cycle ............................................................................ 34
Sharing Code ......................................................................................... 34
Errors and Error Handling ...................................................................... 42
Parallel Programing ............................................................................... 44
■Chapter 3: The Windows 10 Experience
Cortana .................................................................................................. 53
Live Tiles ............................................................................................... 59
Notifications .......................................................................................... 59
Tile Notifications .....................................................................................................60
Toast Notifications ..................................................................................................60
Settings ................................................................................................. 64
Share ..................................................................................................... 69
Navigation ............................................................................................. 72
In-App Purchases (IAPs) ........................................................................ 77
■Chapter 4: Windows with Mouse and Keyboard
Components of a Solution ..................................................................... 82
Visual Studio and Blend ........................................................................ 84
Designing in Blend ................................................................................ 90
Triggers and Actions .............................................................................. 94
Size Classes/Visual States .................................................................... 94
Scalable Assets ..................................................................................... 98
Custom Controls .................................................................................. 100
Code Behind ........................................................................................ 103
Data Binding ........................................................................................ 109
Animations and Transitions ................................................................. 111
Files in the File System ....................................................................... 119
Globalization and Localization ............................................................. 121
Camera and Media Capture Devices ................................................... 123
Securing App Data ............................................................................... 128
Print and Casting Media to Devices .................................................... 132
Windows Wheel Devices ..................................................................... 136
Background Classes ............................................................................ 137
■Chapter 5: Windows with Touch
Gestures .............................................................................................. 144
Defining a Custom Gesture .................................................................. 150
Working with Multi-Touch ................................................................... 154
■Chapter 6: Internet of Things (IoT)
Introduction ......................................................................................... 157
Windows 10 IoT Core ........................................................................... 159
IoT on Microsoft Azure ......................................................................... 162
Introduction to OpenCV ....................................................................... 165
■Chapter 7: Wearables
3D ........................................................................................................ 167
Real Time ............................................................................................. 173
Developing For Microsoft HoloLens ..................................................... 173
Deployment and Store Ready .............................................................. 181
■Chapter 8: Windows 10 for Advanced Users
Inking .................................................................................................. 185
Device-Specific Code .......................................................................... 188
App Protocols ...................................................................................... 191
App-to-App Communication ................................................................ 195
Asynchronous Operations ................................................................... 198
Multithreading and Parallel Processing .............................................. 200
Beyond Physical Contact ..................................................................... 203
App Intelligence ................................................................................... 206
■Chapter 9: Cross Platform with Xamarin
Xamarin Architecture ........................................................................... 214
Installing in Visual Studio .................................................................... 215
Xamarin for iOS and macOS ................................................................ 216
Xamarin for Android ............................................................................ 235
Deployment and Store-Ready ............................................................. 237
■Chapter 10: Ready for the Store
Assets .................................................................................................. 244
Manifest .............................................................................................. 245
License Management .......................................................................... 248
Windows Store Settings ...................................................................... 249
Enterprise Ready ................................................................................. 250
Store Submission and Evaluation ........................................................ 251
Windows 10 Deployment vs. Previous Versions .................................. 255
■■Chapter 11: Application Analytics .............................................. 257
Windows Store Analytics ..................................................................... 259
Visual Studio Mobile Center ................................................................ 262
Actionable Data ................................................................................... 264
Index .............................................................................................. 265

Bookscreen
e-books shop

Introduction
When I sat down to author this book, I thought about how to make everything simple.
In my school days, the books were full of definitions and technical explanations which
made a lot of people say “I don’t speak computer.” The purpose of this book is to give you
the core values and the core concepts embedded into a technology so you get a natural
flow of thought while building your application. I look at the evolution in the world of
computing and how it all fits together. The initial concern was how to make things work.
Today, the tools of the trade work behind the scenes, hiding behind the main goal of
the work and the things most important. A writer or a student should not care whether
his/her content is authored in Microsoft Word or Apple Pages or LaTeX as long as the
writing experience fits organically into the author’s flow and the document created can be
opened and read (compatible) by other people using other software. In other words, the
tools should fit seamlessly into an individual’s workflow.

UWP fits this bill in a developer’s workflow: the developed application can reach a
range of devices, be it personal devices (like Surface Laptop, Surface Pro, Surface Book)
to devices in an enterprise to the IoT, and even to other operating systems like iOS and
Android, all of them using the same language and, in most cases, the same lines of code.
This book covers the robust use and the core concepts in UWP. Explanations are
made as simple as possible, comparing concepts with real-world situations. The first two
chapters cover the most basic concepts, incrementing the level of understanding slowly
as your understanding of UWP grows with each chapter, culminating with the publication
process on the app store. This book fulfills its purpose if, by the end of your learning
process, you are able to build complex, enterprise-level applications for your school, your
job, your company, or even as a hobby.
Previous Post Next Post