万本电子书0元读

万本电子书0元读

顶部广告

Windows Application Development Cookbook电子书

售       价:¥

6人正在读 | 0人评论 9.8

作       者:Marcin Jamro

出  版  社:Packt Publishing

出版时间:2016-12-01

字       数:307.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Discover over 125 solution-based recipes to help you build applications for smartphones, tablets, and desktops About This Book Learn to build applications for Windows 10, the latest Windows version Develop your applications to be compatible with smartphones, tablets, and desktops This guide is packed with recipes covering major solutions to day-to-day problems faced by Windows programmers Who This Book Is For The book is dedicated to programmers with various experience of developing applications for Windows-based smartphones, tablets, and desktops—even beginners can find suitable content. What You Will Learn Start developing universal applications for Windows 10 Design user interface in the XAML language Use the MVVM design pattern with data binding Store data in files and in a database Use multimedia content and animations Capture data from built-in sensors Handle various Internet-based scenarios Test the application and submit it to the Windows Store In Detail Need to ensure you can always create the best Windows apps regardless of platformWhat you need are solutions to the biggest issues you can face, so you can always ensure you’re making the right choices and creating the best apps you can. The book starts with recipes that will help you set up the integrated development environment before you go ahead and design the user interface. You will learn how to use the MVVM design pattern together with data binding, as well as how to work with data in different file formats. Moving on, you will explore techniques to add animations and graphics to your application, and enable your solution to work with multimedia content. You will also see how to use sensors, such as an accelerometer and a compass, as well as obtain the current GPS location. You will make your application ready to work with Internet-based scenarios, such as composing e-mails or downloading files, before finally testing the project and submitting it to the Windows Store. By the end of the book, you will have a market-ready application compatible across different Windows devices, including smartphones, tablets, and desktops. Style and approach This quick-start book takes a cookbook format with recipes covering more than 125 solutions to help you create and build applications for Windows 10. The examples presented in the book use the free integrated development environment. A supporting set of codes that present solutions to problems described in particular chapters is available as well.
目录展开

Windows Application Development Cookbook

Windows Application Development Cookbook

Credits

About the Author

Acknowledgements

About the Reviewer

www.PacktPub.com

Why subscribe?

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Getting Started

Introduction

Setting up the IDE

Getting ready

How to do it...

There's more...

See also

Arranging windows

Getting ready

How to do it...

There's more...

See also

Creating a new project

Getting ready

How to do it...

There's more...

See also

Running the application

Getting ready

How to do it...

See also

Adding a new page

Getting ready

How to do it...

There's more...

See also

Placing a control

Getting ready

How to do it...

How it works...

There's more...

See also

Handling events

Getting ready

How to do it...

How it works...

See also

Navigating between pages

Getting ready

How to do it...

How it works...

See also

Passing data between pages

Getting ready

How to do it...

How it works...

There's more...

See also

Handling the back button

Getting ready

How to do it...

How it works...

See also

Changing a default page

Getting ready

How to do it...

How it works...

There's more...

See also

Modifying the back stack

Getting ready

How to do it...

How it works...

There's more...

See also

Utilizing additional features of the emulator

Getting ready

How to do it...

See also

Breakpoints-based debugging

Getting ready

How to do it...

See also

Step-by-step debugging

Getting ready

How to do it...

There's more...

See also

Executing code while debugging

Getting ready

How to do it...

How it works...

See also

Logging information while debugging

Getting ready

How to do it...

See also

Monitoring the CPU and memory usage

Getting ready

How to do it...

How it works...

2. Designing a User Interface

Introduction

Adding a button

Getting ready

How to do it...

How it works...

There's more...

See also

Adding a text block

Getting ready

How to do it...

How it works...

There's more...

See also

Adding a textbox

Getting ready

How to do it...

How it works...

There's more...

See also

Adding a password box

Getting ready

How to do it...

How it works...

See also

Adding a checkbox

Getting ready

How to do it...

How it works...

See also

Adding a combobox

Getting ready

How to do it...

How it works...

See also

Adding a listbox

Getting ready

How to do it...

How it works...

See also

Adding an image

Getting ready

How to do it...

How it works...

See also

Adding controls programmatically

Getting ready

How to do it...

How it works...

See also

Arranging controls vertically

Getting ready

How to do it...

How it works...

See also

Arranging controls horizontally

Getting ready

How to do it...

How it works...

See also

Arranging controls in a scrollable view

Getting ready

How to do it...

How it works...

See also

Defining a page-limited style

Getting ready

How to do it...

How it works...

See also

Defining a global style

Getting ready

How to do it...

How it works...

See also

Applying styles programmatically

Getting ready

How to do it...

How it works...

See also

Arranging controls in a grid

Getting ready

How to do it...

How it works...

See also

Arranging controls in absolute positions

Getting ready

How to do it...

How it works...

See also

Choosing date and time

Getting ready

How to do it...

How it works...

Adding icons to app bars

Getting ready

How to do it...

How it works...

Creating and using a user control

Getting ready

How to do it...

How it works...

See also

Presenting a message dialog

Getting ready

How to do it...

How it works...

See also

Adjusting design based on the device type

Getting ready

How to do it...

How it works...

Localizing content in XAML

Getting ready

How to do it...

How it works...

See also

Localizing content programmatically

Getting ready

How to do it...

How it works...

See also

Forcing the current language

Getting ready

How to do it...

How it works...

See also

3. MVVM and Data Binding

Introduction

Creating the view model for a page

Getting ready

How to do it...

How it works...

There's more...

See also

Introducing bindings and commands

Getting ready

How to do it...

How it works...

See also

Binding a value to a textbox

Getting ready

How to do it...

How it works...

See also

Binding with a value converter

Getting ready

How to do it...

How it works...

See also

Using value converters with parameters

Getting ready

How to do it...

How it works...

See also

Showing a progress bar during calculations

Getting ready

How to do it...

How it works...

See also

Binding a collection to a list view

Getting ready

How to do it...

How it works...

See also

Binding a collection to a grid view

Getting ready

How to do it...

How it works...

See also

Binding a collection to a combobox

Getting ready

How to do it...

How it works...

See also

Binding a collection to a hub

Getting ready

How to do it...

How it works...

See also

4. Data Storage

Introduction

Creating a directory

Getting ready

How to do it...

How it works...

See also

Reading a structure of directories

Getting ready

How to do it...

How it works...

See also

Creating a file

Getting ready

How to do it...

How it works...

See also

Iterating through files

Getting ready

How to do it...

How it works...

There's more ...

See also

Renaming a directory

Getting ready

How to do it...

How it works...

See also

Renaming a file

Getting ready

How to do it...

How it works...

See also

Removing a directory

Getting ready

How to do it...

How it works...

See also

Removing a file

Getting ready

How to do it...

How it works...

See also

Writing a text file

Getting ready

How to do it...

How it works...

See also

Reading a text file

Getting ready

How to do it...

How it works...

See also

Writing an XML file

Getting ready

How to do it...

How it works...

See also

Reading an XML file

Getting ready

How to do it...

How it works...

See also

Writing a JSON file

Getting ready

How to do it...

How it works...

See also

Reading a JSON file

Getting ready

How to do it...

How it works...

See also

Writing a binary file

Getting ready

How to do it...

How it works...

See also

Reading a binary file

Getting ready

How to do it...

How it works...

See also

Creating a SQLite database and tables

Getting ready

How to do it...

How it works...

See also

Storing data in a SQLite database

Getting ready

How to do it...

How it works...

See also

Selecting data from a SQLite database

Getting ready

How to do it...

How it works...

See also

Updating data in a SQLite database

Getting ready

How to do it...

How it works...

See also

Removing data from a SQLite database

Getting ready

How to do it...

How it works...

See also

5. Animations and Graphics

Introduction

Animating the showing of controls

Getting ready

How to do it...

How it works...

There's more...

See also

Using animation to hide controls

Getting ready

How to do it...

How it works...

There's more...

See also

Adding animation to show the collection of items

Getting ready

How to do it...

How it works...

See also

Animating the repositioning of items' collection

Getting ready

How to do it...

How it works...

See also

Animating the color of an element

Getting ready

How to do it...

How it works...

See also

Animating the size of an element

Getting ready

How to do it...

How it works...

See also

Animating the position of an element

Getting ready

How to do it...

How it works...

See also

Animating the rotation of an element

Getting ready

How to do it...

How it works...

See also

Animating the font size of an element

Getting ready

How to do it...

How it works...

See also

Drawing shapes programmatically

Getting ready

How to do it...

How it works...

Handling the tap touch event

Getting ready

How to do it...

How it works...

See also

Handling the pinch touch event

Getting ready

How to do it...

How it works...

See also

Handling the rotate touch event

Getting ready

How to do it...

How it works...

See also

Handling the pinch and rotate touch events

Getting ready

How to do it...

How it works...

See also

Rendering 3D graphics

Getting ready

How to do it...

How it works...

There's more...

6. Multimedia

Introduction

Playing a movie clip

Getting ready

How to do it...

How it works...

There's more...

See also

Playing an audio file

Getting ready

How to do it...

How it works...

See also

Presenting a collection of photos

Getting ready

How to do it...

How it works...

There's more...

See also

Preparing a photo album with captions

Getting ready

How to do it...

How it works...

See also

Modifying an image

Getting ready

How to do it...

How it works...

See also

Converting an image into grayscale

Getting ready

How to do it...

How it works...

See also

Recoloring an image

Getting ready

How to do it...

How it works...

There's more...

See also

Choosing a file to open

Getting ready

How to do it...

How it works...

See also

Choosing a file to save

Getting ready

How to do it...

How it works...

See also

Taking an image from a camera

Getting ready

How to do it...

How it works...

See also

Recording a movie from a camera

Getting ready

How to do it...

How it works...

See also

Scanning a QR code

Getting ready

How to do it...

How it works...

See also

Synthesizing speech

Getting ready

How to do it...

How it works...

See also

Recognizing speech

Getting ready

How to do it...

How it works...

See also

7. Built-in Sensors

Introduction

Detecting motion using an accelerometer

Getting ready

How to do it...

How it works...

See also

Reading data from a compass

Getting ready

How to do it...

How it works...

See also

Obtaining the orientation of a device

Getting ready

How to do it...

How it works...

See also

Reading data from a light sensor

Getting ready

How to do it...

How it works...

See also

Launching vibrations

Getting ready

How to do it...

How it works...

Reading NFC tags

Getting ready

How to do it...

How it works...

See also

Obtaining the current GPS location

Getting ready

How to do it...

How it works...

See also

Disabling switching off the screen

Getting ready

How to do it...

How it works...

8. Internet-based Scenarios

Introduction

Opening a website in a default browser

Getting ready

How to do it...

How it works...

See also

Presenting a website within a page

Getting ready

How to do it...

How it works...

See also

Composing an e-mail message

Getting ready

How to do it...

How it works...

See also

Starting a phone call

Getting ready

How to do it...

How it works...

See also

Launching a Skype call

Getting ready

How to do it...

How it works...

See also

Opening a map in an external application

Getting ready

How to do it...

How it works...

See also

Showing a map within a page

Getting ready

How to do it...

How it works...

See also

Drawing icons, polylines, and polygons on a map

Getting ready

How to do it...

How it works...

See also

Adding a custom marker to a map

Getting ready

How to do it...

How it works...

See also

Getting the coordinates of a clicked point on a map

Getting ready

How to do it...

How it works...

See also

Launching GPS-based navigation

Getting ready

How to do it...

How it works...

See also

Calling API methods

Getting ready

How to do it...

How it works...

See also

Downloading a file from the Internet

Getting ready

How to do it...

How it works...

See also

9. Testing and Submission

Introduction

Creating a unit test

Getting ready

How to do it...

How it works...

See also

Running a set of tests

Getting ready

How to do it...

How it works...

There's more...

See also

Adding a project to the Windows Dev Center

How to do it...

See also

Associating an application with the store

Getting ready

How to do it...

How it works...

See also

Adjusting the manifest file

Getting ready

How to do it...

See also

Obtaining a map token

Getting ready

How to do it...

See also

Receiving push notifications

Getting ready

How to do it...

How it works...

There's more...

See also

Preparing files for submission

Getting ready

How to do it...

How it works...

See also

Submitting the application

Getting ready

How to do it...

How it works...

See also

Updating the application

Getting ready

How to do it...

See also

Generating promotional codes

Getting ready

How to do it...

See also

Browsing reviews and ratings

Getting ready

How to do it...

See also

Analyzing acquisitions

Getting ready

How to do it...

See also

A. Useful Resources

Getting started

Designing a User Interface

MVVM and data binding

Data storage

Animations and graphics

Multimedia

Built-in sensors

Internet-based scenarios

Testing and submission

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部