BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   Snapshot (

friendlysoft 02-24-2009 04:36 AM

Hello, every body.
I'm writing a personal card management software, and it will use j2me MMAPI
for capture a picture through CMOS sensor.

try {
pCtrl = Manager.createPlayer("capture://video");//?encoding=rgb888&width=160&height=320&fps=10");
vCtrl = (VideoControl)pCtrl.getControl("VideoControl");
if (null == vCtrl) {
vCtrl.initDisplayMode(VideoControl.USE_DIRECT_VIDE O, canvas);

} catch (Exception e) {
The code work well on WTK 2.5.2, but can't work on 8320 BB.
I try debug it on simulator, catch the reason is createPlayer will through MediaException always. and I view blackberry's mmapi docs, it sample code is:
1. Wave audio files: audio/x-wav
2. AU audio files: audio/basic
3. MP3 audio files: audio/mpeg
4. MIDI files: audio/midi
5. Tone sequences: audio/x-tone-seq

Is it means blackberry 8320 not support video capture?
Waitting online, thanks in advanced!

friendlysoft 02-25-2009 04:23 AM

No anyone meet the question? :)

Motorcycle Mama 02-25-2009 07:34 AM

What OS version number is on the device?

You need version 4.5 on that device for video.

friendlysoft 02-25-2009 09:25 PM


rachamphetamine 02-25-2009 09:26 PM

Moved to Developers Section

All times are GMT -5. The time now is 02:49 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.