开发者

Testing Shake events on Android Emulator

开发者 https://www.devze.com 2022-12-30 07:06 出处:网络
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

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.

0

精彩评论

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