Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Option to select the file #5

Open
GoogleCodeExporter opened this issue Jun 15, 2015 · 3 comments
Open

No Option to select the file #5

GoogleCodeExporter opened this issue Jun 15, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 13 Aug 2010 at 10:00

Attachments:

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 23 Aug 2010 at 2:23

@GoogleCodeExporter
Copy link
Author

Could you please tell me how to compile this project? It seems too complicated 
to me...

Original comment by [email protected] on 28 Mar 2011 at 7:43

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 16 May 2013 at 1:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant