10-09-2009 05:30 AM
Hello guys. In my application I try to take a snapshot (photo) from the internal camera of the device. I've read the article about "How to take a snapshot using the built in camera" http://www.blackberry.com/knowledgecenterpublic/li
<note that I'm using a 8320 simulator with eclipse>
public class CameraScreen extends MainScreen
private VideoControl vc;
private String encoding;
private Player player;
private Field viewFinder;
player = Manager.createPlayer("capture://video");
vc = (VideoControl) player.getControl("VideoControl");
viewFinder = (Field)vc.initDisplayMode(VideoControl.USE_GUI_PRI
when I push this screen from a new UiApplication it should start the webcam eh ?
Any help will be extremely appreciated. Thanks already...
10-09-2009 06:43 AM
You have missed a key line in the KB article:
"BlackBerry® Device Software 4.6"
As far as I am aware, the highest level software available with an 8320 is 4.5, so this method of invoking the camera is not available.
The best you can do with this level of OS is detect when a photo has been taken by having a File Journal Listener.
10-09-2009 08:57 AM
Not at the moment.
Here is the best URL to keep an eye on these sorts of things.
Having said that, I have seen nothing that indicates that any device that was released pre 4.5 will be upgraded to anything post 4.5. So if I was a betting man, I would place a bet on the fact that you will not get a suitable upgrade for your device. But that is not official!