1 / 17

App-to-app communication

App-to-app communication. Sean McKenna Program Manager, Windows Phone seanmck@microsoft.com 3-044. What is app-to-app c ommunication?. Custom URI Associations. Launch other apps to complete tasks Call with Skype Play an album on Spotify Post a message on Twitter

csilla
Download Presentation

App-to-app communication

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. App-to-app communication Sean McKenna Program Manager, Windows Phone seanmck@microsoft.com 3-044

  2. What is app-to-app communication?

  3. Custom URI Associations • Launch other apps to complete tasks • Call with Skype • Play an album on Spotify • Post a message on Twitter • Link your app into core experiences • Browser • Messaging • Email

  4. File Type Associations • Launch your files in the right app • Microsoft Office • Adobe Reader • Handle custom files in your app • Browser • Email • Office Hub

  5. Opening an Office document • Demo

  6. Guiding Principles • User is always in control • Apps cannot take over an extension • The list of installed apps is private user data • Apps cannot query installed apps, protocols, file extensions • Standard tasks should be simple and predictable • Standard types are handled by built-in experiences

  7. One Handler Launch URI: skype:call?5551234

  8. No handlers

  9. 2+ Handlers

  10. Launching a game from SMS • Demo

  11. A Look Under the Hood Data Sharing Service Create file brokering token Redeem token for file Target App Source App Execution Manager Launch by file: Floorplan.pdf TokenID = 1234 Launch target with token Get handlers for ‘.pdf’ Package Manager

  12. Surfaced in Email, Browser, Office Hub WXGA Recommended Small: 33px Medium: 69px Large: 176px File Type Icons

  13. Handling a custom file type • Demo

  14. Target apps Your app can be launched based on a URI sent from another device Handler code is exactly the same Proximity capability is not required Source apps You can launch apps on other devices using the Proximity APIs App Launching via Proximity

  15. Launching via proximity • Demo

  16. THANK YOU! • Sean McKenna • seanmck@microsoft.com

More Related