developing applications for windows phone 7 - chris ismael
DESCRIPTION
Presentation by Chris Ismael at SgDotNet User Group Meetup (Apr 16, 2010) .TRANSCRIPT
Windows Phone 7Developer Events in Singapore
April 16 sgdotnetApril 20 RIActionApril 22 HackerspaceApril 29 iMatch Business Matching
@innovativesg #wp7 #wp7sg
Subscribe for email updates here
Developing applications for Windows Phone 7
Chris Ismael Developer Evangelisthttp://innovativesingapore.com @innovativesg
3
Agenda for tonight
Introducing WP7 WP7 features shown in MIX10 Some important info for developers WP7 Page-Based Application
Development WP7 Games Development Q&A Networking
4
The coding part
Silverlight basics WebClient LINQ to <XML> Databinding / DataContext Page Navigation Short animations in Blend Silverlight games in Blend
XNA samples
5
A different kind of phone
Designed for life in motion
So you don’t miss a moment
SMART DESIGNWindows Phone 7 Series has
a smart design that focuses on what is most important to you and works the way you would want
INTEGRATED EXPERIENCES
Windows Phone 7 Series organizes the web and applications to simplify what you do everyday
FOR DEVELOPERS
A single, cohesive API set and platform
6
MIX10 Windows Phone demos
AP News Reader – Silverlight Netflix – Media streaming, Hub integration Graphic.ly – Deep Zoom Foursquare – Map, Location Shazam – Microphone Soccer – Push Notifications SteveB doll – Accelerometer The Harvest - XNA
7
What developers need to know now
Managed code dev’t (C#)
Silverlight / XNA CTP Tools are free
VS2010 Express for Phone
Blend 4 for Phone Consistent hardware
specs 800 x 480 / 480 x 320 Capacitive touch – 4 points Sensors –
AGPS/Accelerometer/Compass/Light/Proximity
3 Hardware buttons… etc
“End of year” availability
Emulator support VS2010 RTM
Getting Data -> Displaying Data
REST, WCF, XML, Web Services…
“class LTACams()”
1 2 3
The and part
WebClient/HTTPWebReque
st
LINQ to XML
Displaying controls and adding control event
MainPage.xaml
MainPage.xaml.cs (code-behind)
Getting data into the control
XAML
Code-behind LINQ to
XML
listItem[0].Text = traffic[0].loclistItem[1]Text = traffic[1].loc….
DataContext = new MainViewModel();
MainPage.xaml.cs (code-behind)
Navigation inside the application
HyperLink
NavigationService
Overlaying XAML pages
Games for the phone
Silverlight “Behaviors” in Blend “Update / Draw” method
XNA “Update/Draw” method
14
Phone features Accelerometer Application Bar Isolated Storage Location Media Push Notifications Etc
Silverlight basics WebClient/
HttpWebRequest LINQ to <XML> Databinding /
DataContext Page Navigation Short animations in
Blend Silverlight games in
Blend XNA samples
Topics we have/have not covered
Windows Phone 7Developer Events in Singapore
April 16 sgdotnetApril 20 RIActionApril 22 HackerspaceApril 29 iMatch Business Matching
@innovativesg #wp7 #wp7sg
Subscribe for email updates here
What’s Next?
http://developer.windowsphone.com Download the tools Start developing WP7 apps
http://innovativesingapore.com Subscribe for updates We will send you
Event schedules 1-page doc of MIX10 links and resources This deck and other links to resources shown today Info on prototype device
No emails. Talk to us through Twitter