How can i simulate accelerometer in android emulator? [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I don't have an Android phone right now. But in my application I need to use the accelerometer values. How can I do this in a simulated environment? 回答1: The Android emulator doesn't support it itself but OpenIntents' SensorSimulator fills the void. Download and unpack the zip file, then start the standalone jar