Search code examples
androidusbaccelerometertransfer

Android Sensor data over USB


I'm building a small app on my mac and wondering if there was some way to access the accelerometer data of a phone that is connected via USB. Will I have to develop an Android app that pushes this data to be received somehow? Or is there a way to access the data directly.

Thanks heaps for any help.


Solution

  • You could look at writing an Android app that polls for accelerometer data and send it via network. That will be a lot less painful than trying to send it via USB to a PC.

    I doubt that your app will be sensitive to any latency and delays during intial development.