- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / examples / api / nativeMessaging / README.txt
1 This directory contains an example of chrome application that uses native
2 messaging API that allows to communicate with a native application.
3
4 In order for this example to work you must first install the native messaging
5 host from the host directory.
6
7 To install the host:
8
9 On Windows:
10   Add registry key
11   HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.google.chrome.example.echo
12   and set its default value to the full path to
13   host\com.google.chrome.example.echo-win.json . Note that you need to have
14   python installed.
15
16 On Mac and Linux:
17   Run install_host.sh script in the host directory:
18     sudo host/install_host.sh
19   You can later use host/uninstall_host.sh to uninstall the host.