开发者

Can we test shake application on android emulator? [duplicate]

开发者 https://www.devze.com 2023-03-09 09:09 出处:网络
This question already exists: Closed 11 years ago. Possible Duplicate: accelerometer in Android emulator
This question already exists: Closed 11 years ago.

Possible Duplicate:

accelerometer in Android emulator

I have an application that plays music when the user shakes his phone, can I test it on the开发者_开发技巧 emulator?


I have no experience with it, but i've seen this being adviced before, and it seems to me that it does the trick:

http://code.google.com/p/openintents/wiki/SensorSimulator

(emphasis mine:)

The OpenIntents SensorSimulator lets you simulate sensor data with the mouse in real time. It currently supports accelerometer, compass, orientation, and temperature sensors, where the behavior can be customized through various settings

0

精彩评论

暂无评论...
验证码 换一张
取 消