Demo application for Android
Материал из WebHMI Wiki
Версия от 12:01, 1 марта 2018; Evgeniy.mozoliak (обсуждение | вклад) (Новая страница: «The app provides for the possibility to specify: * IP-address or WebHMI hostname * API Key * pause between requests to read the current values of the regist…»)
If the capabilities of the WebHMI web interface are either redundant or inadequate, then you can write your application that will interact with your automation system through the WebHMI API.
As an example, we developed a small Android application. It allows you to turn on / off the lamp in our demo-suitcase and displays the position of the knob on the potentiometer.
The app provides for the possibility to specify:
- IP-address or WebHMI hostname
- API Key
- pause between requests to read the current values of the registers
- ID of the button register
- ID of circular indicator register
- it is possible to disable the audio click when the button is pressed
Вы можете как скачать само приложение и попробовать его работу с вашим WebHMI, так и скачать исходные коды проекта для быстрого старта при разарботке вашего собственного приложения.
Скачать APK-файл: Медиа:Webhmi_Demo_App.zip
Скачать исходные файлы проекта: Медиа:WebHMI_Demo_App_Sources.zip