YodaOS Application Runtime is the JavaScript layer in YodaOS. It provides the main functionalities includes:
- Getting and handling NLP request
- Playing music and TTS
- Controlling the volume
- Controlling the network state
- Providing basic SDK for application development
It is powered by ShadowNode, which provides the basic system API. See ShadowNode Documentation for details.
To run the unit tests on device, just try:
$ npm test
123 -_-_-_-_-_-_-_-_-_,------,
0 -_-_-_-_-_-_-_-_-_| /\_/\
0 -_-_-_-_-_-_-_-_-^|__( ^ .^)
-_-_-_-_-_-_-_-_- "" ""
Pass!
Ensure you have a connected YodaOS device via ADB v1.0.39.
In development, code changes are in a very frequent fashion and it might be hard to maintain synchronization between local codes and device codes. Try following commands to cope with the situation with ease:
$ npm restart
For more useful development tools, see tools.