I want to know is there any library or class to play and cache audio files automatically like Picasso for Images.
Asked
Active
Viewed 1,002 times
2 Answers
0
Yes there is MediaPlayer Class

Slobodan Vrhovac
- 77
- 1
- 10
-
1I know it, but it loads song from internet every time, when you reinitialize it. – Nadir Novruzov Jan 21 '15 at 08:23
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
2 )try. http://www.infidian.com/2009/12/27/android-streaming-mediaplayer-tutorial-updated-to-v1-5-cupcake/