try {
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse("file:///android_assets"+"/abc.pdf"),
"application/pdf");
startActivity(intent);
} catch (Exception e) {
WriteLogToFile.appendLog(Dashboard.this, "File", "file.txt", ActivityUtil.writeException(e));
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse("market://details?id=com.adobe.reader&hl=en"));
startActivity(i);
}
in some devices this is working fine.but in few devices it is giving error like file or folder doesn't found please help me in resolving issue