So, I would need a option to view a PDF within my own app (yes, so basicly I don´t need something like the code i will post as example below.... since it will just open the PDF in a new window using a external, installed app on the device)
final Intent pdfIntent = new Intent(Intent.ACTION_VIEW);
pdfIntent.setDataAndType(path, "application/pdf");
this.startActivity(pdfIntent);
What i want to do is to open (and view) a PDF inside my app, so for example inside a FrameLayout within any layout file from my app. I know, that there would be the option to upload the PDF and using a WebView and GoogleDocs to display the PDF - but since you can´t call GoogleDocs without a internet connection... well, I need something else. I searched for librarys, wich are able to read/view and display PDFs (and wich you can use for free), but most of the android compatible results i found were just other stand-alone apps... and like I mentioned before, I want to view the PDF within MY app, in a FrameLayout (without opening a new window) or something and nothing else.
Does anybody know if there is a option to do this?