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:
Manager.createPlayer("capture://audio?encoding=audio/amr");
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?
crosspost: link