4. App to App Communication
Custom URI Associations
File Type Associations
5. Custom URI Associations
Launch apps from your app
Post tweet
Call skype
Companion apps
Launch your app from core hubs
Browser
Messaging
Email
6. File Type Associations
Launch your app from from a file
handler
Custom file types
Launch an app from within your app
to open a file located in your
application
Office
Pdf
14. Using System protocols
You can not overwrite protocols used by
system apps or OS.
http:, MailTo:, Map:, Javascript:, File:,
ms-settings-wifi, ms-settings-location, zune:reviewapp,
(100+ others)
15. Passing Files to other apps
• Sending app creates copy and sends it
to other app
• No reply communication
17. Passing Files to other apps
Sending
App
Receiving
App
Data Sharing Service
Create file Brokering token
18. Passing Files to other apps
Sending
App
Receiving
App
Execution Manager
Data Sharing Service
Launch file: Geert.colleague
TokenID=9999
19. Passing Files to other apps
Sending
App
Receiving
App
Execution Manager
Package
Manager
Data Sharing Service
Retreive .colleague
handlers
20. Passing Files to other apps
Sending
App
Receiving
App
Execution Manager
Package
Manager
Data Sharing Service
Launch app TokenID=9999
21. Passing Files to other apps
Sending
App
Receiving
App
Execution Manager
Package
Manager
Data Sharing Service
Redeem file token
22. Register file association
Register for a file association in the app
manifest file
Supply logos that Windows Phone OS will
use
Small: 33x33px
Medium: 69x69px
Large: 176x176px