Hi....I'm newbie in this project...i have two question....
Is possible to record a sound from the microphone and reproduce it by speakers?
Could I include in my app the "javax.sound" library or at this time is impossible?
If we are talking about Java ME (Micro Edition), you should use JSR-135 component for sound issues. See specification here: http://java.sun.com/javame/reference/apis/jsr135/
Here's code example for recording:
After recording you may playback recorded sound.
Normally, you don't playback while recording, because it will definitely interfere with what you are recording on such a small device like mobile phone. But it may be also possible on some JSR-135 implementations to start playback from the stream being used for recording at the same time.
Hope this covers what you're looking for.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.