Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[QUESTION] How to receive values from sensor which isn't provided by Google API

$
0
0
Hello,
I'm looking for a solution to receive values of the "Laser Sensor", which LG G3 has built in. I searched Google, asked at stackoverflow and read the Google Android API Documentation a lot of times - but I didn't get the information I need.
Three weeks ago, I asked LG's support. They told me they will send my question to the developer department. I'm still waiting for an answer / reaction.
So I thought I will maybe get some information about this sensor if I decompile LGs Camera App - but reading the code is very confusing for me. :-/

At the moment I'm searching for a solution to take control over the infrared diode and the receiver by using adb and echoing values to sys/class/...-files.
But I didn't get something useful.

Kind XDA-people, if anybody know how to control/trigger (what ever) this infrared diode & sensor, please let me know.

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>