I know about the media api. I have gone through the API. but no where it tells how to access output stream of radio. How do i record it from radio??
Main Topics
Browse All TopicsI am planning to write an application to record from live radio. i am having sony ericsson k530i and there is no option to record from radio. is there anyway that i can capture the output stream of radio and store the data?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Right. You have two choices here. You can either try and contact the server sending out the radio stream directly, then communicate via the appropriate protocol etc to write to a file the data it is sending out. Or, you can simply play the audio through the normal software you use on your phone, then record the output from your phone's sound card.
The former is not recommended. The problem with it is that internet radio is often protected against record attempts in some way that makes communication of the correct type with the server very difficult. Once the data is on your phone, so to speak, and your phone's player software is interpreting it and producing the sound which is relayed through your sound card, the data is much easier to get hold of.
I hope you choose the latter method. If you choose to investigate further, I feel there is a simple example which will help you, using JavaSound, located at
http://www.jsresources.org
There are plenty more resources on JavaSound in general; a good one is at
http://www.jsresources.org
HTH
HTH
It would not matter. As long as the audio from the radio is being played through the phone's soundcard or whatever, then the code above allows you to intercept that and record it. It could be radio via FM/AM/LW, internet radio, audio from an MP3 you are playing on the phone, audio from a game, or even audio from a voice conversation.
Business Accounts
Answer for Membership
by: mrwad99Posted on 2009-03-24 at 10:27:13ID: 23970882
Sounds like you want the "The J2ME Mobile Media API":
mobility/m idp/articl es/ mmapiov erview/
http://developers.sun.com/
HTH