I bought 3 android touchscreen from PortWorld running Android 11 or 13 depending the touchscreen model.
I bought
- 2 x YC-SM41P. (4”, Android 13, 2GB Ram, 32GB Storage)
- 1 x YC-SM1011 (10.1”, Android 11, 4GB Ram, 32GB Storage)
All those screens are provided with humidity and temperature sensors.
The vendor sent me a PDF file to explain the API and a JAR file as example to be able to retrieve the value from sensors.
But I’m not a developer and I cannot understand how I could retrieve the sensors values.
The PDF contains only this :
How to Use
LylManager lylManager = new LylManager(getApplicationContext()); // Context lylManager.showStatusBar();**Get Temperature and Humidity**
float[] getTemperatureAndHumidity(); // Returns: float[0] = Temperature, float[1] = Humidity
I decompiled the jar file which contains 3 class files
I understood this is java code but I never played with java and so I would like to get some help on this
Thank you in advance
Julien
