# Portworld Android touchscreen : humidity and temperature sensor

**URL:** <https://community.openhab.org/t/portworld-android-touchscreen-humidity-and-temperature-sensor/166440>\
**Category:** Beginners\
**Tags:** portworld\
**Created:** [September 25, 2025, 1:41pm UTC](https://community.openhab.org/t/portworld-android-touchscreen-humidity-and-temperature-sensor/166440 "2025-09-25T13:41:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eljub](https://community.openhab.org/user_avatar/community.openhab.org/eljub/32/43352_2.png) [@eljub](https://community.openhab.org/u/eljub)\
**Post date:** [September 25, 2025, 1:41pm UTC](https://community.openhab.org/t/portworld-android-touchscreen-humidity-and-temperature-sensor/166440/1 "2025-09-25T13:41:00Z")

</div>

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
> 
> ```javascript
> LylManager lylManager = new LylManager(getApplicationContext()); // Context
> 
> lylManager.showStatusBar();
> 
> ```
> 
> \*\*Get Temperature and Humidity\*\*
> 
> ```javascript
> float[] getTemperatureAndHumidity(); // Returns: float[0] = Temperature, float[1] = Humidity
> 
> ```

I decompiled the jar file which contains 3 class files

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/7/a/7a20aa89f0feaaa15245ea8955c8d6520cfd175a.png)

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
