In my application i need to open pdf file.For that i have prepared code to open pdf file.Suppose my pdf file in sdcard, It is working fine.when my application change from sdcard to application path i.e /data/data/app.package/ it is not working.I got alert dialog like
Invalid file path .Please guide me to over some this problem.
In my application i need to open pdf file.For that i have prepared code
Share
/data/data/app.package/is package private. To share this pdf you’d probably have to move it to external storage (you can use getExternalFilesDir()). This directory has no security enforced.