开发者

Closing the default camera in Blackberry programatically after taking a picture

开发者 https://www.devze.com 2023-03-05 06:36 出处:网络
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));

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消