5

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 ?

Pritam
  • 2,367
  • 5
  • 34
  • 50

1 Answers1

4

See How can I unit test an Android Activity that acts on Accelerometer? for a better solution.

Community
  • 1
  • 1
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491