what's new in windows phone "mango"

49
7 Jeff Brand [email protected] | @jabrand | slickthought.net Developer Evangelist Microsoft Corporation What’s New in Windows Phone 7.5 (codename Mango)

Upload: mdc11

Post on 30-Oct-2014

883 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: What's New in Windows Phone "Mango"

7

Jeff [email protected] | @jabrand | slickthought.netDeveloper EvangelistMicrosoft Corporation

What’s New inWindows Phone 7.5(codename Mango)

Page 2: What's New in Windows Phone "Mango"

Agenda

Execution Model & Fast App Switching

Introduction

Background Agents & Reminders

Sensors & Location

Camera

Live Tiles & Push Notification Services Silverlight & XNA Integration

Search Extensibility

Launchers & Choosers

…with TONS of demos

Page 3: What's New in Windows Phone "Mango"

Introduction

Page 4: What's New in Windows Phone "Mango"

Mango?

Page 5: What's New in Windows Phone "Mango"

Over 1500 new APIs

Microsoft.Phone.BackgroundAudio

Microsoft.Phone.UserData

Microsoft.Phone.Scheduler

Microsoft.Devices.FlashModeMicrosoft.Devices.PhotoCamera

Microsoft.Devices.CaptureResolution

Microsoft.Devices.Sensors.GyroscopeMicrosoft.Phone.BackgroundAgent

Microsoft.Phone.Info.PowerSourceMicrosoft.Phone.Info.DeviceStatus

Microsoft.Phone.Net.NetworkInformation.ConnectState

Microsoft.Phone.Scheduler.Alarm

Microsoft.Phone.Scheduler.Reminder

Microsoft.Phone.Shell.ProgressIndicator

Microsoft.Phone.Tasks.BingMapsTask

Microsoft.Phone.Tasks.SaveRingtoneTask

Microsoft.Phone.Tasks.GameInviteTaskMicrosoft.Phone.UserData.Appointments

Microsoft.Phone.UserData.Contacts

Microsoft.Phone.BackgroundAgent

System.Data.Services.Client

System.Windows.Navigation.JournalEntry

Microsoft.Phone.Shell.ShellToast

Microsoft.Devices.Sensors.Compass

Microsoft.Phone.BackgroundAudio.PlayState

Page 6: What's New in Windows Phone "Mango"

Internet Explorer 9

=

Page 7: What's New in Windows Phone "Mango"

Getting Started

A Tour around WP7 Development

Demo

Page 8: What's New in Windows Phone "Mango"

Execution Model

Page 9: What's New in Windows Phone "Mango"

MOVED TO BACKGROUND: DEACTIVATED

Running

Deactivate

Suspended

Activate

Assume your process is killed

Save state for later use

Load state to continue where you left off

User is back where they left off

• Hit Start• Open

toast• Lock

screen

Page 10: What's New in Windows Phone "Mango"

Fast App Switching Just hold down the back button

Page 11: What's New in Windows Phone "Mango"

EXECUTION MODEL

Tombstoning your application

Demo

Page 12: What's New in Windows Phone "Mango"

Background Agents &Reminders

Page 13: What's New in Windows Phone "Mango"

Background Agents Enable background actions when app isn’t

running

Allow scheduling

Great for audio players or location tracking

Page 14: What's New in Windows Phone "Mango"

Background Agents<Tasks> <DefaultTask Name="_default"

NavigationPage="MainPage.xaml" /> <ExtendedTask Name="BackgroundTask"> <BackgroundServiceAgent Specifier="AudioPlayerAgent“ Name="MyAudioPlaybackAgent“ Source="MyAudioPlaybackAgent“ Type="MyAudioPlaybackAgent.AudioPlayer" /> </ExtendedTask></Tasks>

Page 15: What's New in Windows Phone "Mango"

RemindersReminder reminder = new Reminder(name);reminder.Title = titleTextBox.Text;reminder.Content = contentTextBox.Text;reminder.BeginTime = beginTime;reminder.ExpirationTime = expirationTime;reminder.RecurrenceType = recurrence;reminder.NavigationUri = navigationUri;

ScheduledActionService.Add(reminder);

Page 16: What's New in Windows Phone "Mango"

BACKGROUND AGENTS & REMINDERS

Playing music in the background, and setting a reminder for your user.

Demo

Page 17: What's New in Windows Phone "Mango"

Sensors & Location

Page 18: What's New in Windows Phone "Mango"

Accelerometer

PEOPLE

+Y

-Y

+X

+Z

-Z

Detects the force of gravity, as well as any forces resulting from the movement of the device.

Page 19: What's New in Windows Phone "Mango"

Gyroscope

PEOPLE

Determines the rotational velocity of the device on all three axes.

Page 20: What's New in Windows Phone "Mango"

Compass (Magnetometer)

PEOPLE

Determines the device’s rotation relative to the Earth’s magnetic north pole.

Can also detect magnetic forcesaround the device.

Page 21: What's New in Windows Phone "Mango"

Motion

PEOPLE

Combines the data from Compass, Gyroscope, and Accelerometer.

Handles data like yaw, pitch, roll.

Ideal for augmented reality applications.

Page 22: What's New in Windows Phone "Mango"

Location: Sources of Location

22

Location services

+ Accuracy- Power- Speed- Indoors

- Accuracy+ Power+ Speed- Wilderness

+/- Accuracy+/- Power+/- Speed+/- Urban areas

GPS

Cell towers

WiFi

Page 23: What's New in Windows Phone "Mango"

New Emulator Tools

PEOPLE

Accelerometer data

Location Data

Gyroscope & Compass are not yet supported by the emulator.

Page 24: What's New in Windows Phone "Mango"

Accelerometer Tool

PEOPLE

Page 25: What's New in Windows Phone "Mango"

Location Tool

PEOPLE

Page 26: What's New in Windows Phone "Mango"

SENSORS & LOCATION

A look at the raw sensor data, and simple augmented reality.

Demo

Page 27: What's New in Windows Phone "Mango"

Camera

Page 28: What's New in Windows Phone "Mango"

Programmatic Access

PEOPLE

You now have direct access to the camera, including real-time access to raw frames

Enables augmented reality

You also have access to the flash and focus in your applications.

Page 29: What's New in Windows Phone "Mango"

CAMERA

Camera events and changing the raw image to grayscale.

Demo

Page 30: What's New in Windows Phone "Mango"

Live Tiles & Push Notification

Page 31: What's New in Windows Phone "Mango"

Live Tiles Used to require push notifications to

update

Secondary tiles can be created

Deep linking is easy

Page 32: What's New in Windows Phone "Mango"

LIVE TILES

Adding secondary tiles with deep linking

Demo

Page 33: What's New in Windows Phone "Mango"

Push Notifications

Server-initiated communication

Enables key background scenarios

Preserves battery life and user experience

Page 34: What's New in Windows Phone "Mango"

Notification Types

34

New photos online!

Seattle, WA: Sunny and 85 degrees

1415

Page 35: What's New in Windows Phone "Mango"

Push Notifications: Data Flow

35

Push client

Push service

Your service

Tile

App

Toast

Send push data to URI

Send push data to

client

Send URI to server

Open push channelReturn URIData to App

Data to toast

Data to tile

Event

Page 36: What's New in Windows Phone "Mango"

PUSH NOTIFICATIONS

Subscribing to and receiving push notifications

DEMO

Page 37: What's New in Windows Phone "Mango"

Silverlight & XNA - Together

Page 38: What's New in Windows Phone "Mango"

Fully Integrated

Silverlight controls in an XNA game

XNA models in a Silverlight app

Solves the trouble with UI in XNA

Page 39: What's New in Windows Phone "Mango"

SILVERLIGHT & XNA

Using Silverlight UI with XNA models

DEMO

Page 40: What's New in Windows Phone "Mango"

Search Extensibility

Page 41: What's New in Windows Phone "Mango"

Putting Apps In Their Place Extends the search experience

Launches the user directly into your app

Deep linking makes it seamless

Page 42: What's New in Windows Phone "Mango"

Search Extras

Page 43: What's New in Windows Phone "Mango"

SEARCH EXTRAS

Getting our app in the search results

DEMO

Page 44: What's New in Windows Phone "Mango"

Launchers & Choosers

Page 45: What's New in Windows Phone "Mango"

Launchers & ChoosersLaunchers BingMapsDirectionsTask BingMapsTask EmailComposeTask GameInviteTask MarketplaceDetailTask MarketplaceHubTask MarketplaceReviewTask MarketplaceSearchTask MediaPlayerLauncher PhoneCallTask SaveEmailAddressTask SavePhoneNumberTask SaveRingtoneTask SearchTask SMSComposeTask WebBrowserTask

Choosers AddressChooserTask CameraCaptureTask EmailAddressChooserTask PhoneNumberChooserTask PhotoChooserTask

Page 46: What's New in Windows Phone "Mango"

LAUNCHERS & CHOOSERS

Adding a new ringtone to the user’s device

DEMO

Page 47: What's New in Windows Phone "Mango"

KEY TAKE-AWAYS There’s tons of new stuff to try out

This is a first-class mobile platform

The sky is now the limit

Use your imagination, and get coding!

HTTP://CREATE.MSDN.COM

Page 48: What's New in Windows Phone "Mango"

Q&A

Page 49: What's New in Windows Phone "Mango"