Closing the default camera in Blackberry programatically after taking a picture
In my application, Im using the default blackberry camera player to capture images using this.. - Invoke.invokeApplication(Invoke.APP_TYPE_CAMERA, new CameraArguments(CameraArguments.ARG_CAMERA_APP));
But after capturing the image, the user has to click the back button inorder to navigate开发者_JS百科 to the next screen. Is there any option to close the player automatically, after capturing the image.
Check this post. The idea is to use EventInjector
to simulate two Escape button presses while being in the Camera app. Note this requires a permission (PERMISSION_INPUT_SIMULATION) from your app.
精彩评论