This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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