Skip to content Skip to sidebar Skip to footer

Android: Inject Fake Camera Preview For Testing Purpose

I am writing some black-box, acceptance tests that run on a physical android device. The application under test (AUT) relies on the camera's preview. Specifically, it uses the setO

Solution 1:

Please see Android mock Camera and How to mock a picture in Android Emulator Camera? Both methods don't need rooted device, but require a change of the application. I believe you can make the necessary modification even if you don't have access to the source code, by decompiling the dex.


Post a Comment for "Android: Inject Fake Camera Preview For Testing Purpose"