Android - absolute URI of directory holding app files
<p>Im trying to download a apk from a server and install it on the device (with user permissions). I try to save the downloaded file to my app's directory got from here -</p>

<p><code>String appPath = MyApp.getContext().getFilesDir().toString() + '/' + fileName;
File filePath = new File(appPath );
Uri auri = Uri.fromFile(filePath);</code></p>

<p>An Exception is thrown at 3 saying URI is not absolute for the path /data/data/com.mycompany.myapp/files/testfile.apk</p>

<p>However if the file is stored in a path like  "/mnt/sdcard/download/testfile.apk" it works fine.  Any ideas ?</p>
