Book description
This book is a practical guide to solving the everyday problems encountered when building apps for Windows 10 devices, including desktops, laptops, tablets, and phones, using HTML5, CSS3 and JavaScript.
Each recipe includes a concise statement of the problem and the approach you should take in order to solve it. A full code solution is also given, along with an in-depth explanation, so you can build on your development knowledge while you work on your application.
The majority of recipes can be used with the Universal Windows app template, designed to help you build one consistent user experience across devices. These are supplemented with recipes for adapting your app to different devices, screen sizes and sensor availability. You'll also find out how to deploy and publish your apps in the Windows Store.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1 : Getting Started with Windows 10 Applications
- Chapter 2 : WinJS Fundamentals
-
Chapter 3 : Basic WinJS Controls
- 3.1 Declaring a WinJS Control on a Page
- 3.2 Setting Options for WinJS Controls
- 3.3 Adding WinJS Controls from Your JavaScript Code
- 3.4 Getting the WinJS Controls from an HTML Document
- 3.5 The ToggleSwitch Control
- 3.6 The DatePicker Control
- 3.7 The TimePicker Control
- 3.8 The Tooltip Control
- 3.9 Displaying Text
- 3.10 Editing Text in an App
- Chapter 4 : List Controls, AppBar, and ToolBar
-
Chapter 5 : Data Binding and Navigation
- 5.1 Data Bind to Simple Objects
- 5.2 Data Bind Style Attributes of DOM Elements
- 5.3 Use Templates for Data Binding
- 5.4 Data Bind WinJS Controls
- 5.5 Navigational Structures in UWP Apps
- 5.6 Navigational Elements in UWP Apps
- 5.7 Pivot Navigation in UWP Apps
- 5.8 SplitView Navigation in UWP Apps
- 5.9 Hub Navigation in UWP Apps
- 5.10 Master/Detail Navigation Using ListView in UWP Apps
- Chapter 6 : Adapting the UI for Different Screens
- Chapter 7 : Application Lifecycle and Navigation
- Chapter 8 : Globalization and Localization
-
Chapter 9 : Data Storage and App Data
- 9.1 How to Create and Delete a Local App Data Settings Container
- 9.2 How to Create and Read Local App Data Settings
- 9.3 How to Create and Retrieve Local Composite Settings
- 9.4 How to Create a Roaming App Data Store Container
- 9.5 How to Create and Read Roaming App Data Settings
- 9.6 How to Register the Data Change Event
- 9.7 How to Create, Write, and Read a Local File
-
Chapter 10 : Sharing Data
- Share Contract
- 10.1 Set up an Event Handler for a Share Option for a Source App
- 10.2 Share Plain Text Data to Other Apps
- 10.3 Share Web Links to Other Apps
- 10.4 Share an Image to Other Apps
- 10.5 Declare App As a Share Target
- 10.6 Handle Share Activation and Receive Plain Text
- 10.7 Receive Images Shared by Other Apps
- 10.8 Share Custom Data Type
- Chapter 11 : Background Tasks
- Chapter 12 : Location and Maps in Windows Apps
-
Chapter 13 : Building Apps That Connect to the Cloud
- 13.1 Creating a New Mobile Service in Microsoft Azure
- 13.2 Creating a Database Table in Mobile Services
- 13.3 Installing Mobile Services for the WinJS Client Library
- 13.4 Performing the CRUD Operation
- 13.5 Data Retrieval with Paging
- 13.6 Sorting Returned Data from the Mobile Service
- 13.7 Performing Validation in a Server Script
- Chapter 14 : Tiles and Notifications
-
Chapter 15 : Device Capabilities
- 15.1 How to Specify Device Capabilities in an App Package Manifest
- 15.2 How to Specify Device Capabilities for Bluetooth for Windows Apps
- 15.3 How to Find Devices Available for a UWP App
- 15.4 How to Create an Audio Stream and Output Speech Based on Plain Text
- 15.5 How to Specify Recognition Constraints for Speech Recognition
- 15.6 How to Launch Your App with Cortana Voice Command in Foreground
- Chapter 16 : Additional Tools
- Chapter 17 : Sideloading and Windows App Certification Kit
- Chapter 18 : Store and Monetization
- Index
Product information
- Title: Windows 10 Development Recipes: A Problem-Solution Approach in HTML and JavaScript
- Author(s):
- Release date: January 2016
- Publisher(s): Apress
- ISBN: 9781484207192
You might also like
book
Optimizing Visual Studio Code for Python Development: Developing More Efficient and Effective Programs in Python
Learn Visual Studio Code and implement its features in Python coding, debugging, linting, and overall project …
book
Learn PHP 8: Using MySQL, JavaScript, CSS3, and HTML5
Write solid, secure, object-oriented code in the new PHP 8. In this book you will create …
book
Pro D3.js: Use D3.js to Create Maintainable, Modular, and Testable Charts
Go beyond the basics of D3.js to create maintainable, modular, and testable charts and to package …
book
Full-Stack Web Development with Jakarta EE and Vue.js: Your One-Stop Guide to Building Modern Full-Stack Applications with Jakarta EE and Vue.js
Harness the power of Jakarta EE to build sturdy back ends while applying Vue.js on the …