ALTabletService¶
NAOqi Core - Overview | API
What it does¶
ALTabletService allows tablet operations. It can be used to:
- load web application, show a web page,
- play videos, show an image,
- manage the tablet itself (wifi, brightness).
ALTabletService is also a signal bridge between the web application running on tablet browser and NAOqi.
Getting started¶
In Choregraphe, try to use the boxes available in the Multimedia > Tablet box library.
For further details, see: Default Box libraries.
How to¶
- To display the html content of your behavior see
ALTabletService::loadApplication
- To display a web page see
ALTabletService::showWebview
- To execute javascript in a web page see
ALTabletService::executeJS
- To play a video see
ALTabletService::playVideo
- To display an image see
ALTabletService::showImage
- To get the touch coordinates see
ALTabletService::onTouchDown