07-24-2012 05:07 PM
How do i know programatically, if in the camera picture preview is set to off or not?
Or how do i know programatically, if the camera picture preview screen is currently visible or not?
On OS 6 devices.
07-25-2012 11:45 AM
I observed from the debug history that, the preview screen is a UI component called as CameraPreveiewScreen
"[0.0] FocusHistory: Focus lost; App net_rim_bb_camera; Component net.rim.device.apps.internal.camera.Camer[0.0] aPreviewScreen"
I thought of using UiApplication.getUiApplication().getActiveScreen() to get the current screen and see if its instance of CameraPreveiewScreen, then i can act on it.But, looks like RIM screens are not identified by the getActiveScreen().
This methid only returns the Application related screen on the stack top and not the BB internal screens.