Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 742 Bytes

File metadata and controls

12 lines (7 loc) · 742 Bytes

Explicit WebIntents

This sample shows how two apps ("ping" and "pong") can communicate via explicit web intents without direct user involvement.

Install both "ping" and "pong". Launch either app, and press the "Dispatch intent" button. The other app will be launched (if it's not running already), and the intent data will be delivered to its background page via the onLaunched event (and then in turn to its window). The other app will reply, and the reply will be displayed in the window of the app that sent the intent.

APIs