sujithcp / apdfviewer

Automatically exported from code.google.com/p/apdfviewer
GNU General Public License v2.0
0 stars 0 forks source link

No Option to select the file #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have compiled and launched the PDF viewer. My Android Simulator Device API 
version is 8 (Android 2.2) .

As soon as it is launched it is showing only 4 buttons. It is not showing any 
thing else.. I wanted to see some pdf document , But I could not see any file 
selection tool. Please help me how I can view my pdf document..?
Is there any special thing to add the code ?

Attachments :
1. ScreenShot of Emulator Device that launched PDFViewer.
2. Logfile 
3. Console output information on running.

Original issue reported on code.google.com by siva4...@gmail.com on 13 Aug 2010 at 10:00

Attachments:

GoogleCodeExporter commented 8 years ago
PDFViewer is just a viewer. When you open pdf file in a file browser or as a 
email attachment and so on, PDFViewer will handle the VIEW intent.

Original comment by gliwen...@gmail.com on 23 Aug 2010 at 2:23

GoogleCodeExporter commented 8 years ago
Could you please tell me how to compile this project? It seems too complicated 
to me...

Original comment by tracy.wj...@gmail.com on 28 Mar 2011 at 7:43

GoogleCodeExporter commented 8 years ago
How to open the viewer? Here is my code, but it crashes

                // open pdfviewactivity
                File dir = Environment.getExternalStorageDirectory();
                File yourFile = new File(dir, "book.pdf");

                Intent intent =  new Intent(Intent.ACTION_VIEW, Uri.fromFile(yourFile));
                startActivity(intent);              

I've add the main activity to manifest already.

Original comment by bagusfl...@gmail.com on 16 May 2013 at 1:16