170 likes | 212 Views
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
E N D
App-to-app communication Sean McKenna Program Manager, Windows Phone seanmck@microsoft.com 3-044
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
File Type Associations • Launch your files in the right app • Microsoft Office • Adobe Reader • Handle custom files in your app • Browser • Email • Office Hub
Opening an Office document • Demo
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
One Handler Launch URI: skype:call?5551234
Launching a game from SMS • Demo
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
Surfaced in Email, Browser, Office Hub WXGA Recommended Small: 33px Medium: 69px Large: 176px File Type Icons
Handling a custom file type • Demo
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
Launching via proximity • Demo
THANK YOU! • Sean McKenna • seanmck@microsoft.com