This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Capture audio from Java ME application  RSS feed

 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code to capture audio using MMAPI 1.1 (MMAPI javadoc sample)
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Thank you very much for the replies.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!