售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜