How to mock a picture in Android Emulator Camera?

前端 未结 3 1630
别那么骄傲
别那么骄傲 2021-01-30 23:15

Is there a way to set a static picture as the photo been taken by the emulator camera? I would like to test ir with zxing barcode reader on emulator.

3条回答
  •  一个人的身影
    2021-01-30 23:31

    You can also use MockCamera for Android. See the detailed reference to answer. https://stackoverflow.com/a/38456086/1053097

提交回复
热议问题