Cordova Galaxy Gear Plugin
The plugin has functions that allows your app to have bidirectional communication with Samsung Gear 2 Series Tizen applications and Cordova applications.
It supports the various Android Samsung models listed here.
Installation
With Cordova CLI, from npm:
$ cordova plugin add cordova-galaxygear
$ cordova prepare
Usage
-
Install the plugin in your Cordova project.
-
Add a
res/xml/assessoryservices.xml
file to your Tizen project with the following
- Modify the
config.xml
file in your Tizen project and add the following under the<widget>
node
A great example of this is the Hello Accessory example from the SDK
Example
GalaxyGear;