17
Windows Phone 7 Developer Events in Singapore April 16 sgdotnet April 20 RIAction April 22 Hackerspace April 29 iMatch Business Matching Twitter @innovativesg #wp7 #wp7sg Subscribe for email updates here

Developing Applications for Windows Phone 7 - Chris Ismael

  • Upload
    spiffy

  • View
    1.593

  • Download
    0

Embed Size (px)

DESCRIPTION

Presentation by Chris Ismael at SgDotNet User Group Meetup (Apr 16, 2010) .

Citation preview

Page 1: Developing Applications for Windows Phone 7 - Chris Ismael

Windows Phone 7Developer Events in Singapore

April 16 sgdotnetApril 20 RIActionApril 22 HackerspaceApril 29 iMatch Business Matching

Twitter

@innovativesg #wp7 #wp7sg

Subscribe for email updates here

Page 2: Developing Applications for Windows Phone 7 - Chris Ismael

Developing applications for Windows Phone 7

Chris Ismael Developer Evangelisthttp://innovativesingapore.com @innovativesg

Page 3: Developing Applications for Windows Phone 7 - Chris Ismael

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

Page 4: Developing Applications for Windows Phone 7 - Chris Ismael

4

The coding part

Silverlight basics WebClient LINQ to <XML> Databinding / DataContext Page Navigation Short animations in Blend Silverlight games in Blend

XNA samples

Page 5: Developing Applications for Windows Phone 7 - Chris Ismael

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

Page 6: Developing Applications for Windows Phone 7 - Chris Ismael

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

Page 7: Developing Applications for Windows Phone 7 - Chris Ismael

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

Page 8: Developing Applications for Windows Phone 7 - Chris Ismael

Getting Data -> Displaying Data

REST, WCF, XML, Web Services…

“class LTACams()”

1 2 3

Page 9: Developing Applications for Windows Phone 7 - Chris Ismael

The and part

WebClient/HTTPWebReque

st

LINQ to XML

Page 10: Developing Applications for Windows Phone 7 - Chris Ismael

Displaying controls and adding control event

MainPage.xaml

MainPage.xaml.cs (code-behind)

Page 11: Developing Applications for Windows Phone 7 - Chris Ismael

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)

Page 12: Developing Applications for Windows Phone 7 - Chris Ismael

Navigation inside the application

HyperLink

NavigationService

Overlaying XAML pages

Page 13: Developing Applications for Windows Phone 7 - Chris Ismael

Games for the phone

Silverlight “Behaviors” in Blend “Update / Draw” method

XNA “Update/Draw” method

Page 14: Developing Applications for Windows Phone 7 - Chris Ismael

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

Page 15: Developing Applications for Windows Phone 7 - Chris Ismael

Windows Phone 7Developer Events in Singapore

April 16 sgdotnetApril 20 RIActionApril 22 HackerspaceApril 29 iMatch Business Matching

Twitter

@innovativesg #wp7 #wp7sg

Subscribe for email updates here

Page 16: Developing Applications for Windows Phone 7 - Chris Ismael

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

Page 17: Developing Applications for Windows Phone 7 - Chris Ismael