Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 1
Registered: ‎09-02-2009
My Device: Not Specified

Camera in Game Canvas... Please Help!

[ Edited ]



I'm trying to port a camera application from regular J2ME phones to blackberry Bold and Storm.   I have only been able to make the camera appear if I extend UIApplication class and post a Field object into the main screen.  When I initialize with VideoControl.USE_DIRECT_VIDEO inside GameCanvas, it fails silently and nothing appears on screen.  When I call getSnapshot an array of length zero is returned. 


Is it possible to use camera inside GameCanvas for Bold and Storm?  If so, am I supposed to impliment it differently from other j2me devices?



Message Edited by ssh83 on 09-03-2009 02:46 PM