Home Page Icon
Home Page
Table of Contents for
Cover Page
Close
Cover Page
by Daniel Vaughan
Windows® Phone 7.5 Unleashed
Title Page
Copyright Page
Contents at a Glance
Table of Contents
Foreword
Preface
Scope of This Book
Assumptions about the Reader
Book Structure
Code Samples
About the Author
Dedication
Acknowledgments
We Want to Hear from You!
Reader Services
Part I. Windows Phone App Development Fundamentals
Chapter 1. Introduction to Windows Phone App Development
Installing the Windows Phone SDK
Comparing XNA and Silverlight
Creating Your First Silverlight for Windows Phone App
Creating a First Windows Phone XNA App
Summary
Chapter 2. Fundamental Concepts in Silverlight Development for Windows Phone
Understanding the Role of XAP Files
The Windows Phone Capabilities Model
The Threading Model for Silverlight Graphics and Animation in Windows Phone
Understanding the Frame Rate Counter
The Windows Phone Performance Analysis Tool
Device Status
Applying the Model-View-ViewModel Pattern to a Windows Phone App
Property Change Notification
Using Commands
Argument Validation
A Platform Agnostic Dialog Service
Summary
Chapter 3. Application Execution Model
Exploring the Execution Model
Running Under the Lock Screen
Page Navigation
Walking Through the Bookshop Sample Application
Summary
Chapter 4. Page Orientation
Orientation and the PhoneApplicationPage Class
Silverlight Toolkit Animated Page Transitions
Summary
Part II. Essential Elements
Chapter 5. Content Controls, Items Controls, and Range Controls
Control Type Taxonomy
Content Controls
Buttons
Items Controls
Range Controls
Summary
Chapter 6. Text Elements
Text Element Types
TextBlock
Font Properties
Built-In Fonts
Font Embedding
TextBox
PasswordBox
RichTextBox
Clipboard
Summary
Chapter 7. Media and Web Elements
Displaying Images with the Image Element
Providing a Drawing Surface with the InkPresenter Element
Playing Audio and Video with the MediaElement
Viewing High-Resolution Images with the MultiScaleImage Element
Displaying Web Content with the WebBrowser Element
Summary
Chapter 8. Taming the Application Bar
Exploring the Built-In Application Bar
Introducing the Custom AppBar
Summary
Chapter 9. Silverlight Toolkit Controls
Getting Started with the Toolkit
ListPicker
AutoCompleteBox
ContextMenu
DatePicker and TimePicker
LoopingSelector
LongListSelector
PerformanceProgressBar
TiltEffect
ToggleSwitch
WrapPanel
Summary
Chapter 10. Pivot and Panorama
Pivot and Panorama Differences and Similarities
Pivot and Panorama Placement in the FCL
Using the Pivot Control
Using the Panorama Control
Things to Avoid When Using the Panorama and Pivot
Silverlight Toolkit Lockable Pivot
Summary
Part III. Windows Phone App Development
Chapter 11. Touch
Handling Touch with Mouse Events
Touch and TouchPoint Classes
Manipulation Events
UIElement Touch Gesture Events
Silverlight Toolkit Gestures
Designing Touch Friendly User Interfaces
Summary
Chapter 12. Launchers and Choosers
API Overview
Choosers and the Application Execution Model
Launchers and Choosers in Detail
Contacts and Appointments
Summary
Chapter 13. Push Notification
Push Notification Types
Benefits of Push Notification
Understanding Push Notification
Getting Started with Push Notification
Subscribing to Push Notification
Power Management and Push Notification
Sending Push Notifications
Toast Notifications
Tile Notifications
Raw Notifications
Identifying Notifications in an HttpWebResponse
Notification Classes
Cloud Service Authentication
Building a Stock Ticker Application
Summary
Chapter 14. Sensors
Sensors Overview
Measuring Force with the Accelerometer
Measuring Direction with the Compass
Sensing Rotation with the Gyroscope
Improving Sensor Accuracy with the Motion Sensor
Summary
Chapter 15. Geographic Location
Location Sensing Technologies
Geographic Location Architecture
Getting Started with Location
Testing Apps That Use the GeoCoordinateWatcher
Code Driven Location Simulation
A Walkthrough of the Position Viewer Sample
Sampling the PositionChanged Event with Rx
Summary
Chapter 16. Bing Maps
Getting Started with Bing Maps
Sample Code Overview
Location Tracking
Pushpins
Route Calculation Using Bing Maps SOAP Services
Summary
Chapter 17. Internationalization
Terminology
Localizability Using Resx Files
Dynamic Localizability—Updating the UI When the Culture Changes
Localizing Images Using Resx Files
The Resx Localizability Sample
Summary
Chapter 18. Extending the Windows Phone Picture Viewer
Debugging Apps That Rely on the Pictures Hub
Creating a Photos Extras Application
Share Menu Extensibility
Using the Windows Phone Connect Tool
Summary
Chapter 19. Camera
PhotoCamera
Using the Silverlight Webcam API
Summary
Chapter 20. Incorporating XNA Graphics in Silverlight
Supporting Components
Displaying a 3D XNA Model in a Hybrid App
Summary
Chapter 21. Microphone and FM Radio
Recording Audio with the Microphone
Controlling the Phone’s FM Radio
Summary
Chapter 22. Unit Testing
Automated Testing
Introduction to the Windows Phone Unit Test Framework
Creating a Test Project
Creating a Test Class
Tag Expressions
Metadata and Assertions
A Testable Chat Client
Inversion of Control (IoC)
Testing Trial Conditions
Testing with Launchers and Choosers
Summary
Part IV. Building Windows Phone Data Driven Applications
Chapter 23. Input Validation
Defining Input Validation
Input Validation Using Property Setters
Defining Validation Visual States in Silverlight for Windows Phone
Asynchronous and Composite Validation
Summary
Chapter 24. Network Services
Network Service Technologies
Monitoring Network Connectivity
Introduction to OData
Consuming OData
Using an OData Proxy
Building an eBay OData Consumer Application
Fetching Data When the User Scrolls to the End of a List
Summary
Chapter 25. Isolated Storage and State Preservation
Understanding Isolated Storage
Abstracting IsolatedStorageSettings
Building an Automatic State Preservation System
Summary
Chapter 26. Local Databases
SQL Server Compact
Deployment of Local Databases
LINQ to SQL on the Phone
LINQ to SQL Platform Differences
Getting Started with Local Databases
Sample Twitter Timeline Viewer
Viewing a Local Database Schema
Database-First Using SqlMetal
Deploying a Database to Isolated Storage
Abstracting the Navigation Service
Observing LINQ to SQL Queries with a Custom Log
Updating a Database Schema
Mapping an Inheritance Hierarchy
Concurrency
Summary
Part V. Multitasking
Chapter 27. Scheduled Actions
Background Tasks
Scheduled Notifications
Scheduled Tasks
Using a Mutex to Access Common Resources Safely
Summary
Chapter 28. Background File Transfers
Background Transfer Requests
Background File Transfer Sample Code
Summary
Chapter 29. Background Audio
Background Agent Recap
Background Audio Overview
Background Audio Player
Representing Audio Files with the AudioTrack Class
Creating a Custom Audio Player Agent
AudioPlayerAgent Sample
Audio Streaming Agents
Summary
Bibliography
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Title Page
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset