Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
CLDC and MIDP
CLDC and MIDP
This discussion is archived
on Nov 16, 2010 11:58 PM by cartoon_20
MediaException: Cannot create DataSoruce for capture://audio on Samsung
Nov 16, 2010 11:57 PM
I'm writting midlet that captures audio on mobile.
System.getProperty("supports.audio.capture"); - returns true
Manager.getSupportedContentTypes("capture"); - returns "audio/amr"
My mobile is Samsung SGH-G800 and according to its spec supports JSR-135, but on that:
I get this exception:
MediaException: Cannot create DataSoruce for: capture://audio?encoding=audio/amr
I tried also "capture://audio", "capture://audio_video" and "capture://audio?encoding=pcm". Nothing.
Any ideas why I get this exception?
Edited by: 811589 on 2010-11-16 15:52
Solved. I used media locator like this : "capture://audio/amr" unusual but works :) but now setRecordLimit(); :( Another problem to resolve.
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: MediaException: Cannot create DataSoruce for capture://audio on Samsung
Nov 16, 2010 11:58 PM
in response to
I used "capture://audio/amr" media locator It works on samsung mobiles.