Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Title
Copyright
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Chapter 1: Introduction
Why Upgrade to Windows Phone 8?
What You Need to Know
What You Need to Have
PC Hardware Requirements
Phone Hardware Requirements
Operating System Requirements
The Windows Phone 8 SDK
Visual Studio
Summary
Chapter 2: Getting Started
Creating a Windows Phone 8 Project
Windows Phone 8 Solution Anatomy
Running Applications from Visual Studio
Using the Emulator
The Emulator User Interface
Additional Tools
Creating, Configuring, and Testing an Application
Prerequisites
Building the Example Application
Customizing Application Settings
Customizing Page Elements
Summary
Chapter 3: Building the UI with XAML
Working with XAML
Namespaces
XAML Syntax
Attached Properties
Markup Extensions
Resources and Styles
Resource Scope
Style Inheritance
Implicit Styles
Merging Resources
Themes
Define and Use a Style
Templates
ControlTemplate
Define and Use a ControlTemplate
Key Classes and Dependency Properties
Data Binding
Binding Basics
Binding in Code
Binding Collections
Bind Objects
Binding to Other Elements
Converters
Implement and Bind a Converter
Binding the DataTemplate
Bind a Template
Change Notification
Property Change Notification
Collection Change Notification
MVVM
Create and Bind a ViewModel
Binding Commands
Implement and Bind a Command
Summary
Chapter 4: Phone Controls
Layout Controls
Canvas
StackPanel
Installing the Windows Phone 8 Toolkit
Grid
Border
ScrollViewer
Viewbox
Button Controls
Binding ThreeState Buttons
Input Controls
TextBox
PasswordBox
RichTextBox
AutoCompleteBox
Slider
DatePicker and TimePicker
List Controls
LongListSelector
ListPicker
Menu Controls
ApplicationBar
Context Menus
Media Controls
Resources vs. Content
Image
MultiScaleImage
MediaElement
Popups
LongListSelector with Menus
Prepare the Project
Build the SubjectViewModel
Build the AppViewModel
Build the User Interface
Code the Main Page
Test the Application
Summary
Chapter 5: Navigation
Navigation between Pages
PhoneApplicationFrame
PhoneApplicationPage
NavigationService
Navigation to external URIs
Calling JavaScript from the Browser
Navigation within Pages
Getting Started with Pivot and Panorama
Binding Panorama and Pivot
Visual Studio Project Templates
Customizing the Visual Studio Project
Design Guidelines
Navigate using the Panorama Example
About Phone Resource Styles
Summary
Chapter 6: Application Lifecycle
Understanding the Application Lifecycle
Saving and Restoring Application State
Storing Transient Data
Tombstoned vs. Dormant
Storing Persistent Data
Saving and Restoring Page State
Using the Page State Property
Persisting User Entry Example
Summary
Chapter 7: Gestures
The Touch Object
UIElement Events
Manipulation Events
Dragging an Element
Flicking an Element
GestureService
Using GestureService
Dragging an Element
Flicking, Rotating, and Sizing an Element
Summary
Chapter 8: Device Capabilities
Device Support
Sensors
Using the Accelerometer Sensor
Combined Motion
Displaying Combined Motion Readings
Shake Gesture
Camera
Camera Preview
Capturing an Image
Using the Camera with a ViewModel
Adding Sound Effect Feedback
Camera Focus
Video Capture
Preview
Record
Playback
Video Capture Example
Summary
Chapter 9: Mapping
Adding Maps to Your Application
Positioning the Map
Adding Pushpins
Binding Pushpins to the Map
Styling Pushpins
Geocoding
Geocode Queries
Reverse Geocode Queries
Setting the View on Results
Getting Your Location
Directions
Summary
Chapter 10: Live Tiles and Notifications
Live Tiles
Introducing Live Tiles
Creating Tiles in XML
Creating Tiles in Code
Iconic
Flip
Cyclic
Updating Tiles
Notifications
Background Agents
Alarms and Reminders
Toasts
Push Notifications
Customizing the Lock Screen
Adding Lock Screen Images
Editing the Manifest
Configuring Access to the Lock Screen
Providing Access to Lock Screen Settings
Summary
Chapter 11: Data Sources
Consuming XML
Loading and Parsing XML Project Files
Loading XML from a Resource
Handling XML Namespace Issues
Serializing Objects
XMLSerializer
DataContractSerializer
DataContractJsonSerializer
Consuming Web Resources
WebClient
HttpWebRequest
Consuming OData
Generating a Proxy Class
Building an OData Client
Using a Local Database
Building a Data Model
Creating a Data Context
Creating the Database
Performing CRUD Operations
Building a Local Database Application
Versioning the Database
Summary
Chapter 12: Using Data in the Cloud
Getting Started With Windows Azure
A Closer Look
Building a Mobile Service Application from Scratch
Create the Azure Service and Table
Build the Windows Phone 8 Application
Push Notifications from Azure
Building the Push Notification Application
Create the Azure Service and Tables
Build the Windows Phone 8 Application
Summary
Chapter 13: Designing In Blend
Introducing Blend
Getting Started
Blend Project Types
Simplifying the Blend User Interface
Blend User Interface
Projects
Assets
Properties
Objects and Timeline
Device
Tools
The Artboard
Creating Controls
Make Into Control
Make Into UserControl
Custom Templates
Custom Templates Tour
Styling a Control with Templates
Animation
Storyboarding
Handling Visual State
Custom Visual States
Summary
Chapter 14: Taking Your App to Market
Certification Requirements for Windows Phone Store
Using the Store Test Kit
Submitting Your App to the Windows Phone Store
After the Windows Phone Store
Summary
Index
← Prev
Back
Next →
← Prev
Back
Next →