BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-24-2009, 04:36 AM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8320
PIN: N/A
Carrier: CUGSM
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Snapshot

Please Login to Remove!

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!
Offline  
Old 02-25-2009, 04:23 AM   #2 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8320
PIN: N/A
Carrier: CUGSM
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

No anyone meet the question?
Offline  
Old 02-25-2009, 07:34 AM   #3 (permalink)
BlackBerry Master
 
Motorcycle Mama's Avatar
 
Join Date: May 2008
Model: 9930
OS: 7.1.0.163
PIN: N/A
Carrier: Verizon
Posts: 4,351
Post Thanks: 0
Thanked 246 Times in 238 Posts
Default

What OS version number is on the device?

You need version 4.5 on that device for video.
Offline  
Old 02-25-2009, 09:25 PM   #4 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8320
PIN: N/A
Carrier: CUGSM
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

v4.5.0.124
Offline  
Old 02-25-2009, 09:26 PM   #5 (permalink)
BBF Moderator
 
rachamphetamine's Avatar
 
Join Date: Mar 2008
Model: --
PIN: E SOL
Carrier: VZW
Posts: 3,117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Moved to Developers Section
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Vintage DEC Digital M8639-YB RDRX Disk Controller Board 50-15649-01 E1 M8639
$125.0
Vintage DEC Digital M8639-YB RDRX Disk Controller Board 50-15649-01 E1 M8639  pictureVintage SIGNODE Crimping W14 Tool 17.5" long pat#1784123 dec9 1930 /N12167
$20.21
Vintage SIGNODE Crimping W14 Tool  17.5HSS 12PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$163.99
HSS 12PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureHSS 21PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC - VINTAGE CAR,BIKES, JEEP
$222.99
HSS 21PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC - VINTAGE CAR,BIKES, JEEP pictureVintage Working Pelouze Model Y-5 Postal Scale Up To 7 Lb. Dec 31, 1975
$18.95
Vintage Working Pelouze Model Y-5 Postal Scale Up To  7 Lb. Dec 31, 1975   picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.