3

I want to know is there any library or class to play and cache audio files automatically like Picasso for Images.

Nadir Novruzov
  • 467
  • 1
  • 6
  • 16

2 Answers2

0

Yes there is MediaPlayer Class

MediaPlayer Class

0

1 ) This is ugly but works. Create local proxy server as in this App. -

http://code.google.com/p/npr-android-app/

And now get stream Data before mediaplayer is getting.This is where you can implement your own cache logic.

Similar SO questions:

How to set proxy on MediaPlayer

Audio stream buffering


2 )try. http://www.infidian.com/2009/12/27/android-streaming-mediaplayer-tutorial-updated-to-v1-5-cupcake/

Community
  • 1
  • 1
MohK
  • 1,873
  • 1
  • 18
  • 29