To cache media files on Android player, you should use the HttpClient API to download the media file.
Note that you should not use HttpClient in your main UI thread. Doing so will cause ANRs. We recommend you use it inside an AsyncTask which will download the file in background.
You can store the media file in the media storage provided on IAdea players. Use the getExternalStorageDirectory() API to obtain the path to save to.
Article is closed for comments.