Download Big media files in android
<p>im trying to download media files through my application for which i wrote a method which read bytes from the source file and return bytes array,</p>

<p>byte[] mediainfo = getMediaFile(String path);</p>

<p>but the problem is that when the file size will become greater than 5 or 6MB it will return outofMemory exception,please kindly give some idea how i will download big media file about 10 mb through my application,
thanks.</p>
