how can I display real-time data from the raspberry pi heat sensor into my android app made with the android studio (not an android app build on a raspberry pi ) every time the sensor measures a temperature a new table row in the android app will be created immediately , thank you for your help
I would use MQTT if you are just building the app for yourself. Here is an app on the Playstore MQTT Dash you could try a public MQTT Broker to publish sensor data and subscribe with with app from the app store.
If you are using Python on the Pi you can use Paho to publish your data. Once this is working you can add MQTT to your Android app. Then you have to decide where you want to host the MQTT broker. You could host it on the Pi. Here is a broker you can try Mosquitto.