Windows Phone Garage - Application Jumpstart
-
Upload
glen-gordon -
Category
Technology
-
view
855 -
download
0
description
Transcript of Windows Phone Garage - Application Jumpstart
![Page 2: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/2.jpg)
Agenda
Services
Design Considerations
Templates
![Page 3: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/3.jpg)
Design considerations
![Page 4: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/4.jpg)
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
![Page 5: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/5.jpg)
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
![Page 6: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/6.jpg)
Launchers & ChoosersLaunchers EmailComposeTask MarketplaceDetailTask MarketplaceHubTask MarketplaceReviewTas
k MarketplaceSearchTas
k MediaPlayerLauncher PhoneCallTask SearchTask SMSComposeTask WebBrowserTask
Choosers CameraCaptureTask EmailAddressChooserT
ask PhoneNumberChooser
Task PhotoChooserTask SaveEmailAddressTask SavePhoneNumberTas
k
![Page 7: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/7.jpg)
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
![Page 8: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/8.jpg)
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
![Page 9: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/9.jpg)
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
![Page 10: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/10.jpg)
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
![Page 11: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/11.jpg)
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
![Page 12: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/12.jpg)
Hub Integration Music Photos Configured via XML in app manifest
![Page 13: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/13.jpg)
Templates
![Page 14: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/14.jpg)
Templates Built in
Databound, Panorama and Pivot Social viewer Windows Azure Toolkit
![Page 15: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/15.jpg)
Services
![Page 16: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/16.jpg)
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/
![Page 18: Windows Phone Garage - Application Jumpstart](https://reader038.fdocuments.net/reader038/viewer/2022110302/549650a7b4795926438b45ad/html5/thumbnails/18.jpg)
© 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.