File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Capture audio from Java ME application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Capture audio from Java ME application" Watch "Capture audio from Java ME application" New topic
Author

Capture audio from Java ME application

Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Dear All,
Can we capture the voice through a MIDP application. I mean say if the user says 'Hello' to the mouth piece, can we get it as an input to the MIDlet. Thanks a lot. Regards


SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Eduardo Marques
Ranch Hand

Joined: Feb 19, 2005
Posts: 231
Yes ... maybe you can capture using MMAPI 1.1 RecordControl and "capture://audio", but will depend on the particular device.
Check java.sun.com/products/mmapi

No ... there is no J2ME API for voice recognition as far as I know.

There is the Java Speech API but it�s not (nor has been ported) for J2ME


Eduardo Marques
Get ready for your SCMAD certification at J2MECertificate.com - See what all the buzz is about ...
Eduardo Marques
Ranch Hand

Joined: Feb 19, 2005
Posts: 231
The code to capture audio using MMAPI 1.1 (MMAPI javadoc sample)
Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Hi all,
Thank you very much for the replies.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Capture audio from Java ME application