![]() |
Snapshot 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"); pCtrl.realize(); vCtrl = (VideoControl)pCtrl.getControl("VideoControl"); if (null == vCtrl) { return; } vCtrl.initDisplayMode(VideoControl.USE_DIRECT_VIDE O, canvas); } catch (Exception e) { e.printStackTrace(); } 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! |
No anyone meet the question? :) |
What OS version number is on the device? You need version 4.5 on that device for video. |
v4.5.0.124 |
Moved to Developers Section |
| All times are GMT -5. The time now is 01:51 PM. |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.