Caching media files on Android

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.

© 2000-2016 by IAdea Corporation. All rights reserved.