开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜