In Android, I know it's possible to use Runtime.getRuntime().exec(...) to execute native command line on android system like echo or ls. I wonder if is there is any way to get data from any sensor module (like photo or gps) not from Android API (through Java or Kotlin), but by executing a command line with Runtime.getRuntime().exec(...). Is there a way to do it?
from Is there a way to get data from sensors from command line?
No comments:
Post a Comment