Successfully reported this slideshow.

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

What's New with Windows Phone - FoxCon Talk

  1. 1. Samidip Basu Manager| Mobility Practice Lead | MSFT Mobility Solutions Email: [email_address] Twitter: @samidip Info: Blog:   Sogeti USA 8425 Pulsar Place, Suite 300 | Columbus, OH 43240. What’s New with Windows Phone!
  2. 2. Central Ohio Windows Phone User Group @cowpug 3 rd Monday @ TechColumbus
  3. 3. @m3conf
  4. 4. * daily news * tutorials * exclusive articles * forums * free webinars * events * ebooks * newsletters SilverlightShow ( ) – online portal for everything Silverlight, XAML and Windows Phone, 10K+ members. CompletIT ( ) – Silverlight and Windows Phone trainings, consultations and development company, founder of SilverlightShow. * Individual and group, on-site and online trainings * Standard and custom course schedules * Trainings by Silverlight MVP, MCT
  5. 5. What’s on the plate .. <ul><li>Mango has 1500 new APIs .. No, we’re not covering all </li></ul><ul><li>Getting back to your hot wife or girlfriend  - aka Push Notifications </li></ul><ul><li>Push Notifications with Live Tiles .. Normal & Mangofied </li></ul><ul><li>OData/WCF Services & leveraging Azure in mobility </li></ul><ul><li>Execution Model & FAS </li></ul><ul><li>Reminders & Background Agents </li></ul><ul><li>Search Extensibility </li></ul><ul><li>Sensors & Location </li></ul><ul><li>Silverlight & XNA </li></ul><ul><li>Resources along the way </li></ul><ul><li>Whatever else .. </li></ul>
  6. 6. First, some new hardware .. The Nokia Lumia 710 with T-Mobile
  7. 7. So, you have a camera? The HTC Titan II with AT&T
  8. 8. And the shiney .. The Nokia Lumia 900 with AT&T
  9. 9. But I’m on Sprint/Verizon ..
  10. 11. IE 9 in Mango =
  11. 12. What’s new in Windows Phone SDK 7.1 <ul><li>Multi-targeting & App Compatibility </li></ul><ul><li>Multitasking </li></ul><ul><li>Execution Model & Fast Application Switching </li></ul><ul><li>Alarms & Reminders </li></ul><ul><li>Background Agents, Audio & File Transfers </li></ul><ul><li>Silverlight4 </li></ul><ul><li>Sensors & Motion API </li></ul><ul><li>Socket support for TCP & UDP </li></ul><ul><li>Network & Device Information </li></ul><ul><li>Deep-linked Push Notifications </li></ul><ul><li>Silverlight & XNA Integration </li></ul><ul><li>Application Performance Profiler </li></ul><ul><li>VB.NET </li></ul><ul><li>Advertising SDK </li></ul><ul><li>Local SQL CE </li></ul><ul><li>Emulator support to simulate Location & Accelerometer inputs </li></ul><ul><li>Isolated Storage Explorer </li></ul><ul><li>Added Launchers & Choosers </li></ul><ul><li>Access to Contacts & Calendars </li></ul><ul><li>Encrypted Credentials Store </li></ul><ul><li>Marketplace Test Kit </li></ul><ul><li>Real-time & enhanced access to Camera feeds </li></ul><ul><li>Search Extensibility </li></ul><ul><li>OData Client </li></ul><ul><li>16 Additional Cultures </li></ul><ul><li>And more .. </li></ul>
  12. 13. Push Notifications
  13. 14. It ’s not always Sunny & 73 o !!
  14. 15. Push Notifications Contd. <ul><li>Notification types – Live Tile Update, Toast or Raw; depending on type, notification is sent either to App or Shell. </li></ul><ul><li>Tile – visual dynamic representation of application content within phone ’s start page, if pinned by user (through Context Menu); ongoing communication to user based on frequency of cloud service actions; the backend cloud service can control a tile’s background image (may be expensive if no local resource) & counter, as configured. </li></ul><ul><li>Toast – displays notification as an overlay onto user ’s current screen; intrusive & hence to be used sparingly; user may touch to launch application; cloud service may control title & subtitle of toast; appropriate for peer-to-peer apps; users have to have an explicit option to agree to toasts. </li></ul><ul><li>Toast and Tile notification are system defined notification in Windows Phone 7 platform. </li></ul><ul><li>Raw – App can receive messages from cloud constantly using PN; eliminates need for custom code to have persistent connection open with backend cloud service; only possible if app running in foreground. </li></ul><ul><li>Enhanced Push Notifications in Mango – Improved TDET detection, Fast resume of channel, Max channels up to 30 now and API enhancements to handle multiple 2-sided tiles & deep-linked Toasts. </li></ul>
  15. 16. Anatomy of a Live Tile .. Differentiate your presence!
  16. 17. O(h my ) Data <ul><li>“ JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. Most JSON comprises of a collection of name/value pairs & ordered list of values. ” </li></ul><ul><li>“ Atom is an XML-based document format that describes lists of related information known as &quot;feeds&quot;. Feeds are composed of a number of items, known as &quot;entries&quot;, each with an extensible set of attached metadata. For example, each entry has a title. The primary use case that Atom addresses is the syndication of Web content such as weblogs and news headlines to Web sites as well as directly to user agents. ” </li></ul><ul><li>“ In very simple terms, OData is a resource-based Web protocol for querying and updating data. OData defines operations on resources using HTTP verbs (PUT, POST, UPDATE and DELETE), and it identifies those resources using a standard URI syntax. Data is transferred over HTTP using the AtomPub or JSON standards. (Source: MSDN Magazine, June 2010 Issue) ” </li></ul><ul><li>Services that expose their data using the OData protocol are referred to as OData producers, and clients that consume data exposed using the OData protocol are referred to as consumers. Head over to for more information about OData, a list of current producers & consumers and what all this means for developers. </li></ul><ul><li>The OData protocol enables access to information from a broad range of clients. At present, the ecosystem has client libraries available for Windows Phone 7, iPhone, Silverlight 4, PHP, AJAX/Javascript, Ruby, or Java. </li></ul>
  17. 18. Execution Model 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 Fast-Application-Switching !!! <ul><li>Hit Start </li></ul><ul><li>Open toast </li></ul><ul><li>Lock screen </li></ul>
  18. 19. Search Extensibility <ul><li>Putting Apps in their Place </li></ul><ul><li>Extends the search experience </li></ul><ul><li>Launches the user directly into your app </li></ul><ul><li>Deep linking makes it seamless </li></ul><ul><li>Absolute must-use for Marketing your App </li></ul>
  19. 20. Background Agents <ul><li>Enable background actions when app isn’t running </li></ul><ul><li>Allow scheduling </li></ul><ul><li>Great for audio players or Live Tile updates </li></ul>< Tasks > < DefaultTask Name = &quot; _default &quot; NavigationPage = &quot; MainPage.xaml &quot; /> < ExtendedTask Name = &quot; BackgroundTask &quot; > < BackgroundServiceAgent Specifier = &quot; AudioPlayerAgent “ Name = &quot; MyAudioPlaybackAgent “ Source = &quot; MyAudioPlaybackAgent “ Type = &quot; MyAudioPlaybackAgent.AudioPlayer &quot; /> </ ExtendedTask > </ Tasks >
  20. 21. Reminders Reminder 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);
  21. 22. Accelerometer <ul><li>PEOPLE </li></ul><ul><li>Detects the force of gravity, as well as any forces resulting from the movement of the device. </li></ul>Gyroscope <ul><li>Determines the rotational velocity of the device on all three axes. </li></ul>Compass <ul><li>Determines the device’s rotation relative to the Earth’s magnetic north pole. </li></ul><ul><li>Can also detect magnetic forces around the device. </li></ul>Sensors Combined Motion API !! Handle Yaw, Pitch & Roll Use in AR & Games Emulator Tools +Y -Y +X +Z -Z
  22. 23. Location Stuff Location services + Accuracy - Power - Speed - Indoors - Accuracy + Power + Speed - Wilderness + / - Accuracy + / - Power + / - Speed + / - Urban areas Emulator Tools GPS Cell towers WiFi
  23. 24. Silverlight + XNA <ul><li>Full Integration </li></ul><ul><li>Silverlight controls in an XNA game </li></ul><ul><li>XNA models in a Silverlight app </li></ul><ul><li>Solves the trouble with UI in XNA </li></ul><ul><li>British Airways App </li></ul><ul><li>TeaPot Demo </li></ul>
  24. 25. Launchers & Choosers
  25. 26. Toolkits & Frameworks <ul><li>Windows Phone Silverlight Toolkit </li></ul><ul><li> </li></ul><ul><li>Coding 4 Fun WP7 Toolkit </li></ul><ul><li>http:// Phone-Toolkit </li></ul><ul><li>Azure Toolkit for Windows Phone </li></ul><ul><li> </li></ul><ul><li>MVVM Light </li></ul><ul><li> </li></ul><ul><li>UltralightMVVM </li></ul><ul><ul><li> </li></ul></ul><ul><li>Caliburn Micro </li></ul><ul><li> </li></ul><ul><li>Telerik RadControls for WP </li></ul><ul><li> </li></ul><ul><li>Component One Studio for WP </li></ul><ul><li> </li></ul><ul><li>Infragistics NetAdvantage for WP </li></ul><ul><li> </li></ul><ul><li>And many many more ... </li></ul>
  26. 27. KEY TAKE-AWAYS <ul><li>There’s tons of new stuff to try out </li></ul><ul><li>This is a first-class mobile platform </li></ul><ul><li>The sky is the limit </li></ul><ul><li>Use your imagination, and get coding! </li></ul><ul><li>New Market = opportunity to make a name & a few pennies! </li></ul>
  27. 28. Questions? Thank you !!

Editor's Notes

  • There are over 1,500 new APIs available to us in the next version of Windows Phone development. They range from new access to the camera all the way to manipulating tiles on the Start screen. This is just a small, small sampling. The Windows Phone Application Platform
  • Integrated Experiences: The market for Windows Phone 7 consists of consumers with both a personal life and a business life The phone works great in the customer’s personal life as well as in their business life Integrated Office functionality creates great experiences for business use Pictures and Multimedia experiences are great for personal use Getting applications on the phone for end users is easy through Marketplace Delivering applications to Marketplace is easy for Developers The Windows Phone Application Platform
  • There are three different ways to retrieve location on the phone: GPS Location information very accurate Radio drains significant power Initial reading slow (especially if the device has been moved over a long distance without GPX fixes) Does not work indoors Cell Tower Lookup Not that accurate (depends on the distance between cell towers) No additional power requirements (assuming the phone radio is switched on already) Fast location retrieval (if the phone radio is switched on, you are already connected to tower(s)) No 100% coverage WiFi Lookup In between GPS and Cell Tower in both accuracy, speed and battery consumption Works pretty good in larger cities Independent of physical location retrieval, one consistent API is used inside your application. The cloud can help getting more accurate location readings, based on other people having been at the same location (without the need for enabling GPS on a particular, individual device) Location services do not only retrieve Lat/Long readings, but can also resolve address information through reverse geocoding services.
  • The bold (red-bulleted) options are new to Windows Phone 7.1 Windows 7 | Presenter Mode Sunday, January 29, 2012 Microsoft Confidential
  • The bold (red-bulleted) options are new to Windows Phone 7.1 Windows 7 | Presenter Mode Sunday, January 29, 2012 Microsoft Confidential
  • Applications are built in pages Gives your application easy navigation Gives your application integration with the back key Makes things easier when your application needs to handle pause and resume A Windows Phone UI is really clean and simple If you have a strong brand (e.g. making your own controls bright and flashy), you can show that However, if you want to look like the default applications, be clean and simple Notification and location services can really be used to help turn your application into a better user experience
  • ×