This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to record an FM audio in android?

 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i need to record the songs being played by a FM app.
I checked the MediaRecorder.AudioSource but could not find what to use for setAudioSource

can anyone please help me?

thanks,
Prajkti
 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prajkti,
Have a look at this link.


Thanks
Pratik Goswami
 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much Pratik... it worked
 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome
Happy coding

Thanks
Pratik Goswami
 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pratik,
I thought it was working but actually, in spite of mentioning the Audio_source as "MediaRecorder.AudioSource.VOICE_DOWNLINK" , it records the MIC data
Have you ever tried this??

Thanks,
Prajkti
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic