Android Question Values of proximity sensor

hookshy

Well-Known Member
Licensed User
Longtime User
Is the proximity sensor an on off state ! ..or the value is a propotional to the measured distance.
When proximity is on a value 0 is triggered.
Is the max value equal for all devices ?

B4X:
Sub ps_SensorChanged (Values() As Float)
Log(Values(0))
End Sub
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…