How to Troubleshoot Apps for the Modern Connected Worker
Windows Phone Concept - 7.1 & 8 Preview
1. Pou Mason
poumason@live.com
http://www.dotblogs.com.tw/pou
Windows Phone
技術分享
2. 大綱
Windows Phone SDK 7.1
– Architecture
– Execution Model for Windows Phone
– Using Isolated storage
– Using Live Tile & Controls
– Chooser and Launcher
– Multitasking for Windows Phone
即將到來的Windows Phone 8
9. Silverlight & XNA Framework
Silverlight
– 適用開發應用程式類的App,也可以開發遊戲
– WP與Windows在Silverlight的不同
• Implementation Differences Between Silverlight and
Silverlight for Windows Phone
XNA
– 適用開發遊戲與多媒體應用程式
究竟該開發那一種與選擇Framework
• The Silverlight and XNA Frameworks for Windows
Phone
10. Execution Model – 1/6
Windows Phone應用程式的生命週期
類型
– Application State
– Application Events
– Page State
– Page Events
– Tombstoning
– State Dictionaries
11. Execution Model – 2/6
Application
– Data that is used by multiple pages in an
application.
Page
– The current visual state of a single application
page.
Page Page Page
Application
26. Live Tile – 2/3
Application Tile
– The font of a tile
– Only one
Secondary Tiles
– The back of a tile
– User can custom
References: Windows Phone 7 - 學習新的Secondary Tile與Application Tile
27. Live Tile – 3/3
修改Tiles的機制
– ShellTile APIs
• Application Tile and Secondary Tiles can be created,
updated, and deleted
– Tile Notifications
• Tile properties can be updated by using the Microsoft
Push Notification Service
– ShellSchedule APIs
• The background images on the front of a Tile can be
updated on a recurring schedule, even if your
application is not running.
28. Controls & Toolkits
Controls
– Supported Controls in Windows Phone
Silverlight for Windows Phone
– Silverlight for Windows Phone Toolkit
Unsupported controls
– ComboBox, TreeView, OpenFileDialog, …
29. Chooser & Launcher
Launchers and Choosers Overview for
Windows Phone
Chooser
– 呼叫系統內部應用程式,並有回傳值
– Choosers for Windows Phone
Launcher
– 呼叫系統內部應用程式,執行固定任務
– Launchers for Windows Phone
References: Windows Phone 7 - 更多元的Microsoft.Phone.Tasks
33. References
Gesture Support for Windows Phone
Performance Considerations in Applications
for Windows Phone
Code Samples for Windows Phone
Windows Phone Training Course
Windows Phone Development QuickStarts
Mobile Platform Development
44. Lock Screen
Lock screen background image
– a user can choose to use an app as its lock
screen background provider
Lock screen notification Area
– provide content on the lock screen
• App icon (24x24 pixel)
• App count
• App text
References: 偷看Windows Phone 8 Emulator的內容
46. In-app purchasing – 2/3
Develop provide
– products that can be sold in your app
– clear and accurate product information
– the ability to initiate a purchase from within your
app, that is, a “buy button”
– product delivery and/or enablement, also known
as fulfillment
47. In-app purchasing – 3/3
Microsoft provide:
– product management tools through App Hub
– geo-distributed services
– a purchase user experience that is consistent
across all apps on the phone
– the ability to pay you in 190 countries or regions
– proof of purchase authenticity through secure
receipts
48. Proximity & Bluetooth
Proximity
– establish a connection between your app and
another instance of your app on another,
nearby, phone.
• NFC
Bluetooth
– enable apps to communicate over Bluetooth.
Using this API, an app can connect to another
app, or to a device
49. Wallet extensibility
Store payment instructions, deals, and
loyalty cards.
Manage the payment instruments that they
use in the app and music store.
Link items in the wallet to apps on their
phone.
Make contactless transactions, using near
field communication (NFC), in certain
markets.