Exploring Windows Phone Features Chris Koenig | WIRELESS: softlayer - techwild.

Slides:



Advertisements
Similar presentations
Windows Phone 7.5 Academic RoadShow Christophe Peerens Neomytic.
Advertisements

Windows Phone Doug Holland Senior Architect Evangelist 9/28/2011.
Interactivity Navigating a data model Working with large quantities of data Entry Editing and adding data User feedback and validation Presentation.
Expression Blend Rob S. Miles | Microsoft MVP | University of Hull, UK Andy Wigley | Microsoft MVP | Appa Mundi Session 4.0.
NEW WINDOWS PHONE “MANGO” APPLICATION PLATFORM SERVICES Chris blog.walshie.me SESSION CODE: WPH304 (c) 2011 Microsoft. All rights.
WPH309. announcement General Information for Push and Tiles New Features.
ONLINE CONFERENCE DESIGN.BUILD.DELIVE R with WINDOWS PHONE THURSDAY 24 MARCH 2011.
Session 1.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model.
WINDOWS PHONE FIRST UP/ ALL UP Nick Randolph (Built to Roam) Dave Glover (Microsoft) SESSION CODE: #WPH202 (c) 2011 Microsoft. All rights reserved.
customer.
CONNECTING PHONE APPLICATIONS TO THE CLOUD Nick Randolph (Built to Roam) SESSION CODE: COS-WPH208 (c) 2011 Microsoft. All rights reserved.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
MULTI-TASKING AND APPLICATION SERVICES IN WINDOWS PHONE 7.5 Chris blog.walshie.me SESSION CODE: WPH305 (c) 2011 Microsoft. All rights.
Windows Phone Tiles and Notifications Sending alerts to your app.
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Enhanced Push Notifications and Live Tiles for Windows Phone
Wireless Communication and Networks
6/10/ :23 PM TOOL-504T A deep dive into Visual Studio 11 Express for designing Metro style apps using XAML Joanna Mason & Unni Ravindranathan Program.
Microsoft Virtual Academy
Build data-driven collection and list apps using XAML
Building a great Metro style device app for your printer
Power your app with Live services
SkyDrive Pro Chris Gideon Architect Microsoft 9/16/2018
Developing for Key Windows Phone Consumer Scenarios
Introduction to mobile app development Module 2 – Getting started with apps and App Studio Lance McCarthy.
Building great Metro style apps for mobile broadband devices
Myth Busting: Hosted Web Apps
Windows Phone multitasking
Introduction to mobile app development Module 3 – Improving your App Studio app Lance McCarthy.
Welcome to Office 365 Launch Event for PT Prasmanindo Boga Utama
Title of Presentation 11/22/2018 3:34 PM
TechEd /20/2018 © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Deep dive on app data roaming
MIX 09 11/23/2018 6:07 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tooling and Diagnostics
Liven up your WP7 Apps with sweet “Mango” sauce
12/2/ :23 PM APP-410T Real time communication: keep your Metro style app connected whether it is running or suspended Raghu Gatta Principal Development.
Title of Presentation 12/2/2018 3:48 PM
Build /2/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Search: integrating into the Windows 8 search experience
Using connected devices in Metro style apps
Getting started with Windows Azure
Windows Phone application performance and optimization
File type associations and AutoPlay
Microsoft Build /2/2019 6:45 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Introducing Metro style device apps
Create experiences that span devices
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Development.
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Delivering great hardware solutions for Windows
Using tiles and notifications
4/20/2019 Share © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
Leveraging existing code in Metro style apps
Title of Presentation 5/12/ :53 PM
Designing great reading experiences
The complete developer's guide to the SkyDrive API
Build /20/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Title of Presentation 5/24/2019 1:26 PM
Using Smart Unit Tests to find bugs earlier in the development cycle
Inside the Windows 8 driver developer workflow
Title of Presentation 7/24/2019 8:53 PM
Erik Porter Program Manager ASP.NET Microsoft Corporation
Microsoft Office365 Tips Calendar Sample 10/31/2019
Presentation transcript:

Exploring Windows Phone Features Chris Koenig | WIRELESS: softlayer - techwild

Windows Phone 30-to-Launch Program Overview Session 1 Overview of Windows Phone Metro Design Tour: Expression Blend Tour: Visual Studio Building, Running and Debugging Your First App Online Resources Signup for Marketplace Session 2 Exploring Windows Phone Capabilities Live Tiles Sensors & Camera Launchers Choosers Search Integration Advertisements Session 3 Working with Data App Resources Isolated Storage Database Networking Stack Social Integration Session 4 Windows Phone Marketplace Application submittal process How to handle rejection Promoting your application Help submitting your app to the Marketplace 2

Windows Phone Today’s Agenda  Live Tiles  Sensors & Camera  Launchers & Choosers  Advertisements  Push Notifications  Background Tasks  Search Integration 3

Live Tiles

Windows Phone Live Tiles  Interactive windows into your application  Personalize them to be meaningful to your users  Built-in support for data for basic communications  Custom image wizardry for more advanced scenarios

Windows Phone Live Tiles – Local Tile API  Local tile updates (these are *not* push)  Full control of all properties when your app is in the foreground or background  Calorie counter, sticky notes, deep linking  MultiTile!  Create/Update/Delete  Launches directly to page/experience 6

Windows Phone  Back of tile updates  Full control of all properties when your app is in the foreground or background  Content, Title, Background  Flips from front to back at random interval  Smart logic to make flips asynchronous Live Tiles – Local Tile API Continued… Title Content Title Background Content string is bigger 7

Demo Working with Live Tiles

Sensors and Cameras and Launchers and Choosers!

Windows Phone Accelerometer Compass Not Mandatory in HW (but present if Gyro is) Gyro Not Mandatory in HW MotionSensor All the Sensor + Math Use whenever available Also works w/o Gyro Individual APIs available for all Sensors HARDWARE APIs Windows Phone Sensors 10

Windows Phone Exciting Scenarios Enabled 11

Windows Phone Augmented Reality Scenarios?  GART Toolkit   Written by my teammate!

Demo Live demo! Sensors, Camera, Launchers and Choosers

Advertisements

Windows Phone Advertising SDK  The Advertising SDK is now part of the Windows Phone SDK  You can include a Silverlight Ad control in an application or an XNA Drawable Ad into a game  This is very easy to do 15

Windows Phone Microsoft pubCenter  Sign up here so that you can incorporate ads in your games:  Find out more about Windows Phone Advertising: 16

Demo Live demo! Adding the Ad SDK to a Project

Push Notifications

Windows Phone Push Notifications  Server-initiated communication  Enable key background scenarios  Preserve battery life and user experience  Prevent polling for updates 19

Windows Phone Push Notification Data Flow URI to the service: " giiMWNTYrRDXAHQtz- AgrNpzcDAwAAAAQOMDAwMDAwMDAwMDAwMDA" Push enabled applications Notifications service HTTP POST the message Push endpoint is established. URI is created for the endpoint rd party service Windows Live Push Notification service Send PN Message 4 20

Windows Phone Three Kinds of Notifications  Raw  Notification message content is application-specific  Delivered directly to app only if it is running  Toast  Specific XML schema  Content delivered to app if it is running  If app is not running, system displays Toast popup using notification message content  Tile  Specific XML schema  Never delivered to app  If user has pinned app tile to Start screen, system updates it using notification message content 21

Windows Phone Toast Notification  App icon and two text fields  Time critical and personally relevant  Users must opt-in via app UI 22

Demo ns Push Notification Weather Sample

Multitasking

Windows Phone Multitasking Themes  Fast Application Switching  Ability to resume applications that the user has recently used  Apps stay in memory unless memory is needed for other apps  Use IsApplicationInstancePreserved in App.Activate event to determine actions  Background Agents  Ability to run your code in the background  Audio, Timed or on Idle  Notifications  Ability to create alarms and reminders  UX and behavior is the same as the phone Alarms and Calendar items  Background Transfer Service  Application can queue up transfers in the background 25

Windows Phone Generic Agent Types Periodic Agents  Occurrence  Every 30 min  Duration  15 seconds  Scenarios  Incremental data sync  Location  Others… On Idle Agents  Occurrence  External power, non-cell network  Duration  10 minutes  Scenarios  Data feasting  Initial sync  Others… 26

Windows Phone Background Notification Service using Microsoft.Phone.Scheduler; private void AddReminder(object sender, RoutedEventArgs e) { Reminder reminder = new Reminder("CompanyMeeting"); reminder.BeginTime = DateTime.Now.AddSeconds(15); reminder.Content = "Soccer Fields by The Commons"; reminder.Title = "Microsoft Annual Company Product Fair 2009"; reminder.RecurrenceType = RecurrenceInterval.Yearly; reminder.NavigationUri = new Uri("/Reminder.xaml", UriKind.Relative); ScheduledActionService.Add(reminder); } AlarmsReminders using Microsoft.Phone.Scheduler; private void AddAlarm(object sender, RoutedEventArgs e) { Alarm alarm = new Alarm("Long Day"); alarm.BeginTime = DateTime.Now.AddSeconds(15); alarm.Content = "It's been a long day. Go to bed."; alarm.Title = "Alarm"; ScheduledActionService.Add(alarm); } 27

Windows Phone Background Transfer Service downloads My WP Book App Cheese & Win Great Mysterie WP Tips & Tric Cloud Background Transfer Service <2 GB <20 MB <~5.0 MB GET POST void DownloadWithBTS(Uri sourceUri, Uri destinationPath) { btr = new BackgroundTransferRequest(sourceUri, destinationUri); btr.TransferStatusChanged += BtsStatusChanged; btr.TransferProgressChanged += BtsProgressChanged; BackgroundTransferService.Add(btr); } void BtsProgressChanged(object sender, BackgroundTransferEventArgs e) { DrawProgressBar(e.Request.BytesReceived); } using Microsoft.Phone.BackgroundTransfer; void GetCurrentProgress() { DrawProgressBar(btr.BytesReceived); } completed My WP Book App ISO Store no limit 28

Windows Phone Multitasking Cheat Sheet JobTool Resume quickly from the lock screenFast App Switching (it’s free!) Set an alarm or reminder at a precise timeBackground Notification Large file downloadsBackground Transfer Event-based toast/tile updatesPush Notifications Location-based services; regular toast/tile updates; data pre-caching; etc. Periodic Background Agent Play music in the backgroundBackground Audio Player Synchronize data; etc.Resource-Intensive Agent Real-time GPS trackingRun under the lock screen 29

Demo ntsample Background Agents

Search Integration

Demo Using Search Integration via AppConnect

Windows Phone NuGet  Package management system for.NET  Simplifies incorporating 3rd party libraries  Developer focused  Free, open source  Install NuGet using the Visual Studio Extension Manager  Use NuGet to add libraries such as the Silverlight Toolkit to your project 33

Windows Phone Silverlight Toolkit for Windows Phone  A product of the Microsoft Silverlight team  The Silverlight Toolkit adds tons of additional controls ‘out of band’ from the official product control set  Includes full open source code, samples, documentation, and design-time support for controls  Refresh every 3 months or so  Bug fixes  New controls   Download from NuGet! 34

Windows Phone Homework  Keep cranking on your project  Ping me for help with roadblocks  Explore more of the training videos and training kits at  Have fun! 35

BeMyApp Dallas Feb 24-26, 2012 registe r m/

AT&T Mobile App Hackathon! Come build your mobile app with us. We will have 5+ senior mobile application developers that will be directly assisting you with your mobile application development efforts. Come to network. Come to learn. Come to hang out! Where? AT&T Foundry West Plano Parkway, Plano, TX When? Friday Feb 17 th at 6PM and all day Saturday!

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. © 2011 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.