Can any one help with how to test sensor events like shake on Android Emulator. I have found some posts pointing to openintents but can anyone explain how to use it 开发者_如何学运维in android 2.0 avd
http://code.google.com/p/openintents/wiki/SensorSimulator
This has some solution but while installing OpenIntents.apk on emulator gives missing library error.
I succeded the steps till the line:
If you don't have it already, install the latest version of OpenIntents.apk on your mobile phone.
I am stuck on this line:
I found deprecated version (not latest) of OpenIntents.apk , but while installing gives missing library error.
Any help ?
See How can I unit test an Android Activity that acts on Accelerometer? for a better solution.
精彩评论