Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1
Registered: ‎01-23-2013
My Device: Torch
My Carrier: MTS

Camera problem. Device hangs or resets after getSnapshot() in OS7 with flash on



I am testing my app running on OS7 device.


In one of the processes I need to capture series of camera snapshots.

So I found out that if I switch flash on and take first snapshot I can get raw bytes from getSnapshot function successfully.


If without closing camera viewfinder I take another snapshot (with 2-3 seconds delay from first one)  I have no problems as well.


However if I will take second snapshot WITHOUT delay (as quick as possible) WITH flash on the device reset itself or hangs sometimes.


This only happens on OS7 with flash on.


Is it possible to identify what is causing the issue or how to check that device is ready for the next shot?