Hey every one I was developing a J2ME app that records fm radio,I have tried so many methods but I have failed. The major problem I faced is that in the media api for J2ME once the code for tuning into a specific fm channel is written(and works but only outputs directly to the speaker) I couldn't find a way to buffer the output and write it into a file.Thanks in advance.
J2ME - Fm recording app - can't buffer and write to a file
148 Views Asked by Enku Wendwosen At
1
There are 1 best solutions below
Related Questions in JAVA-ME
- Make report after running multiple JMX files
- Trying to install Java ME SDK
- What does the StackMap attribute in Code attribute do in J2ME compiled classes?
- How to increase a body data size while recording the script using JMeter?
- How to retrieve session information and pass single digit value in JMeter
- J2ME: How to set a volume of media?
- Extract JMeter listener execution report using programming
- How to run j2me game in browser
- Running JAR games natively on desktop
- J2me on Mac OS Monterey
- How to turn off Bluetooth with j2me
- TCP socket in Android
- Run JAX-WS on JavaME
- how can i send email using j2me midlet
- Java 2 ME doesnt support replaceAll()
Related Questions in MMAPI
- read a textfile using mmap, wchar_t
- J2ME - Fm recording app - can't buffer and write to a file
- Real time audio analysis on java me with mmapi
- Playing a generated sound j2me
- How to download and Play video in J2ME
- Media cannot start while another media is active
- In J2ME How to find the capability of emulator to check whether it can play certain media file or not
- In J2ME After creating a player with one audio file, is that possible to pass an another audio file to same instance of player to play
- Trying to play audio on Nokia C3, results in : Failed to fetch media data
- RecordControl with platformRequest could they work?
- PlayerListener MMAPI
- Voice or Audio player for .amr file in Java ME
- Getting an exception when recording audio in J2me
- How to play videos with audio in J2ME
- How to simulate camera midlet in Nokia C6?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I think it is not possible with MMAPI directly. I assume the fm radio streams via RTSP, and you can specify it as data source for MMAPI, but if you want to store the audio data, you need to fetch it in your own buffer instead, and then pass to MMAPI Player via InputStream.
In that way you will need to code your own handling for RTSP (or whatever your fm radio uses), and convert data into format acceptable by MMAPI Player via InputStream, for example audio/x-wav or audio/amr. If header of the format doesn't need to specify length of data, then you probably can 'stream' it via your buffer receiving data from RTSP source.
This is some kind of low level coding, I think it will be hard to implement in J2ME.