https://github.com/kanocomputing/cordova-plugin-grt
Allows you to use The Gesture Recognition Toolkit from your web pages running with cordova
https://github.com/kanocomputing/cordova-plugin-grt
Last synced: over 1 year ago
JSON representation
Allows you to use The Gesture Recognition Toolkit from your web pages running with cordova
- Host: GitHub
- URL: https://github.com/kanocomputing/cordova-plugin-grt
- Owner: KanoComputing
- Created: 2018-02-23T11:47:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-18T15:32:18.000Z (over 7 years ago)
- Last Synced: 2025-01-13T12:46:16.572Z (over 1 year ago)
- Language: Swift
- Size: 3.04 MB
- Stars: 0
- Watchers: 22
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cordova Plugin GRT
🚨 Incomplete and unmaintained proof of concept. 🚨
Allows you to use The Gesture Recognition Toolkit from your web pages running with cordova.
## API
The API follows the API available here (https://github.com/KanoComputing/android-grt).
Due to the nature of a cordova plugin, every call must be asynchronous. To instantiate the GRT classes, you need to call which will return a promise.
Example
```js
grt.createTimeSeriesClassificationData()
.then((trainingData) => {
// Do something here
return trainingData.setInfoText('My Text');
});
```
## iOS Development
The [GRT library](https://github.com/nickgillian/grt) comes prebuilt inside `ios-grt.framework`.
To rebuild/modify the bindings see the [ios-grt](https://github.com/KanoComputing/ios-grt) repo.
It would be good to explore the possibility of building the framework from scratch on plugin add.