windows phone garage - application jumpstart
Post on 21-Dec-2014
854 Views
Preview:
DESCRIPTION
TRANSCRIPT
7
Glen GordonDeveloper Evangelisthttp://glengordon.name@glengordonglen.gordon@microsoft.com
Windows Phone Jumpstart
Agenda
Services
Design Considerations
Templates
Design considerations
4
Theming Enables user to personalize their phone Dark and light themes, each with several
accent colors Built-in controls are automatically themed Applications can take advantage of theme
values
Tasks - Launchers and Choosers Launcher
Launches one of the built-in applications through which a user completes a task
No data is returned to calling application Example: PhoneCallTask
Chooser Launches one of the built-in applications through which
a user completes a task, and which returns some data to calling application
When caller completes, calling application is activated and supplied with the Chooser result
Example: PhotoChooserTask
5
Launchers & ChoosersLaunchers EmailComposeTask MarketplaceDetailTask MarketplaceHubTask MarketplaceReviewTas
k MarketplaceSearchTas
k MediaPlayerLauncher PhoneCallTask SearchTask SMSComposeTask WebBrowserTask
Choosers CameraCaptureTask EmailAddressChooserT
ask PhoneNumberChooser
Task PhotoChooserTask SaveEmailAddressTask SavePhoneNumberTas
k
Retained in shell frame to support resuming paused
sessions
Discarded while the session is paused
UI and State Management: Concepts
Page UIDescribes the visual
appearance of a page
Page StateContains data that
describes an instance of a page,
analogous to browser cookie
8
App Lifecycle - Tombstoning Happens when your application loses focus
Start Button Task started Incoming phone call
Application can be resumed User will be returned to most recent page
9
App Lifecycle - Coding Save & restore page state
OnNavigatedTo and OnNavigatedFrom event
Save & restore application state Application_Launching,
Application_Activated, Application_Deactivated, Application_Closing
Found in app.xaml.cs
10
Storage Isolated Storage
Settings and custom data Secure and sandboxed Logical folder structure via APIs No quota currently
Be responsible and inform/empower user Session State
PhoneApplicationService.Current.State Goes away on app closing
AppBar Up to 4 icons
48 x 48 pixels Black/white versions
Can set transparency level Slide up Menu can display more items Can declare in code or XAML Found under Program Files\Microsoft SDKs\
Windows Phone\v7.0\Icons
Hub Integration Music Photos Configured via XML in app manifest
Templates
Templates Built in
Databound, Panorama and Pivot Social viewer Windows Azure Toolkit
Services
Services RSS feeds (blogs, news, photos, video…) Popular APIs (Facebook, Twitter, Flickr,
Foursquare…) Bing
http://bing.com/developers Programmable Web
http://www.programmableweb.com/apis/directory
Windows Azure Marketplace https://datamarket.azure.com/
7
Glen GordonDeveloper Evangelisthttp://glengordon.name@glengordonglen.gordon@microsoft.com
Windows Phone Jumpstart
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
top related