Android Question CamEx preview event not working after pictureTaken (?)

JordiCP

Expert
Licensed User
Longtime User
Hi all!

I have a problem with the camEx class preview event

I am developing an app that gets the preview data from the camera. It works ok (not as fast as I would like to, but it is ok)

I have been developing it with an HTC one, and everything is ok. I can take pictures, and after that, if I choose to return to the preview mode, I call StartPreview again in order to continue with it. Everything works correct


Now I was testing with a Samsung Galaxy SII, and have observed that after PictureTaken event, when I call to StartPreview again, the preview itself works ok, but the event is no longer raised

I tried also with the camEx example, just to check if it was something related to my app, and the results are the same


Is there any way to see what is happenning or to restore the callback?

I think that initialising the camera again (haven't tried it) instead of calling startpreview would work, but I would like to know if this is caused by something wrong


Any help will be welcome!!!
 
Top