Android Cant Open Pdf From Cache Dir
Trying to download and open a pdf file from internet using HTTPClient on android. I have 2 classes. First one is the parser class that has the next method: public static void saveF
Solution 1:
Those "8 pdf readers" have no access to your cache directory. Either store it on external storage (e.g., getExternalCacheDir()
), or create a ContentProvider
to serve the PDF out of your internal cache dir. This sample project demonstrates serving a file from internal storage.
Post a Comment for "Android Cant Open Pdf From Cache Dir"