Shooting with AVD

I am testing my application on an AVD emulator; one of the steps of my application is shooting; When I get there, I will first get the right screen (the one that has the snapshot and Cancel buttons), but after a few seconds, before I can take the snapshot, I get this error message "Application camera (process com.android.camera ) stopped unexpectedly, please try again. "

Is this the expected behavior because I use AVD?

FWIW, I added all the hardware parameters to my AVD, and my code is changed from this link http://github.com/commonsguy/cw-advandroid/tree/master/Camera/Picture

Any help is appreciated.

rh4games

+3
source share

Source: https://habr.com/ru/post/1762588/


All Articles