Search code examples
javaandroidsensorsproximity

How to test sensor application in android AVD?


I am developing a android proximity application using eclipse and Android AVD but I am not able to test proximity application in AVD.

Is there any other way to test proximity application and other sensor application?

Note: My computer USB is blocked so i am not able to connect physical device also


Solution

  • AVD cannot test a lot of Android features, especially sensors.

    In case the USB is unavailable for debug in physical device, you can:

    1. change to a computer with non-blocking USB, and debug it with real device.
    2. make a .apk and install in a real device & diagnose with on-screen debug messages
    3. enable "ADB over Network", then you can debug the app with Bluetooth / Wi-Fi network