locked
Passing a text message between two WinRT apps from the same author (same publisher ID)?

    Question

  • Is there a way for apps running on WinRT to share information?  I know about WinRT's sandboxing and the reasons behind it, but is there some mechanism for two apps created by the same author to share information or pass data between each other?  A global property bag, or existing inter-app push notification or messaging scheme?  I already use the Share contract mechanism for other tasks but that involves invoking the Share charm and I just want to pass a simple text message between two WinRT apps I authored, strictly a one-way transaction.  Perhaps a shared storage area restricted to apps with the same publisher ID?

    -- roschler

    Tuesday, April 01, 2014 5:13 PM

Answers

  • No, there is no supported direct communication between different apps, even by the same publisher.

    For a one-way transaction you can define a protocol and launch that, but it's not strictly specific to your app (somebody else could register the same URI, and somebody else could launch it). See How to handle URI activation .

    --Rob

    • Marked as answer by roschler Tuesday, April 01, 2014 7:30 PM
    Tuesday, April 01, 2014 5:45 PM
    Owner