my assets folder has a tree of sub folders.. i am trying to access a pdf in that directory .. the url is as follows
url = QP/28/28/mth.pdf
the complete directory is as follows
ful directory = file:///data/data/com.example.testqstn/files/QP/28/28/mth.pdf
i have accessed the path using the following code
intent.setDataAndType(Uri.parse("file://" + getApplicationContext().getFilesDir()
+ "/"+url), "application/pdf");
startActivity(intent);
finish();
i am not getting any error msgs but the pdf is not opening.. when the sub folders are not used, and the pdf's are just present in the asset folder.. then the pdf opens correctly.. so what exactly is the problem???
and the log cat is not displaying any error..