.apk file is not downloaded with codeigniter ('download') helper <p>I am working on codeigniter project . in that project i made a webview app (.apk). i upload the a.apk file in upload folder of the project but i am unable to get the .apk when i click on download button . my code is </p> <pre><code>public function downloadapp() { $this-&gt;load-&gt;helper('download'); $data = file_get_contents(base_url()."uploads/apk/hc.apk"); $name = 'hc.apk'; force_download($name, $data); } </code></pre> <p>when i add some other file like(.jpg , .png ) then the doenload code is working fine .. but only .apk file is not downloaded . please help me . and thanks in advance :)</p>