How change textview with data from ubidots?


#1

I am rizal, i am new in android code, i try the source code from ubidots about battery level.
but with my modification about monitoring plant (soil moisture sensor).
how to change the textview into data from ubidots ?

registerReceiver(mPupukReceiver, new IntentFilter(Intent.ACTION_BATTERY_CHANGED));
can change Intent.ACTION_BATTERY_CHANGED)); with data from soil moisture?

i confused because the example about battery level.
this is my program after run appScreenshot_42