Giter Club home page Giter Club logo

pdfviewer's Introduction

ANOUNCEMENT

I finished college and I'm bored at work so I'm planning to work on this again yay 💀

Pdf Viewer Plus

Travis Build Status license

Download on Google PlayGet it on F-DroidGet it on Github

Screenshots

Main Page Main Page Cyanea

Permissions and privacy

This app does not collect any data.
The following permissions are required to provide specific features in the app:

  • Internet: For opening PDFs through links
  • Storage: For saving downloading PDFs and opening them from storage

Contribute

You can contribute to this project in many ways:

  • Fork and make pull requests (please target dev branch)
  • Help to translate the application (By making PR)

Contributors

Made with contributors-img

License

Pdf Viewer Plus is made available under the terms of the MIT License.

MIT License

Copyright (c) 2018 Gokul Swaminathan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

pdfviewer's People

Contributors

codeassemblingchicken avatar fabianski7 avatar fs00 avatar grenagit avatar ikanakova avatar javacafe01 avatar orelio avatar pfayoux avatar pyr0x1 avatar realdrpuc avatar stypox avatar vanous avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdfviewer's Issues

Printing

Awesome app,
The last thing I need before I finally can ditch the last google app on my device (google PDF viewer) is printing.

In google PDF viewer I can print over the printers already added to my android system (so I guess this is native)
Can we implement this here?

Three Suggestions To Improve Pdf Viewer Plus : Add features to Jump To Page, Highlight Texts and Night Mode reading

Introduction

Pdf Viewer Plus is an open source application that enables users to view and read Pdf documents smoothly, It is really easy to use as it contains a simple user interface.

Components

After using the application for a while now, I found out some features which are essential and can improve user experience are missing, this prompted me to put together a list of such features, but on checking the issues page on Github, some of it have been reported but few ones are still missing. So, I'm suggesting the following missing features:

  • Go To / Jump To Page feature
  • Ability to Highlight Texts while reading
  • Night Mode Reading ability

Proposal Description

Pdf Viewer Plus is a very user-friendly pdf reader application as earlier mentioned. I like using it to read my pdf files because of the smoothness while rendering the files. But I seriously miss the ability of the application to do the following which is serving as a limitation for fellow and prospective users likewise:

  • Go To /Jump To Page Feature: While making use of the app to read a pdf file of a very large page reaching over 1000 pages which I could not complete at a go and tried resuming the reading, I had to painstakingly flip through the over 500 pages of texts that have already been read by me. This really gave me a lot of stress and consumed a lot of my time.
    If users are provided this feature, this will save them the stress and time to quickly reach their preferred page.

  • Ability to Highlight Texts while reading: This second feature is also very important, because, with the "Highlight" feature, users will be able to quickly highlight a sentence or terms that caught their interest for further research or even shared with people and friends either through social media or text messages.
    While I was reading with the aid of the app, I encounter some interesting terms I wanted to share with my colleagues instantly, I tried highlighting and copying the particular texts but to surprisingly to no avail. This is not good enough, the app already has the ability to share the whole pdf file from the app, it will be better if the particular text sharing can also be incorporated into the app.

  • Night Mode Reading ability: This feature though may look simple, I can assure you it is of great use and importance especially in an app that has to do with the eyes because people tend to use this app at any time of the day or night. And most people prefer a not too bright reading background especially in the night time as this strains the eyes a whole lot. I, for instance, do not like reading under a bright display as it affects my eyes and gives me a headache if I do it for long. So, I believe the option to choose Day / Night Reading mode by the users should be made available. This will really help improve the app and make it more endearing to users.

Mockups / Examples

Below are pictorial illustrations of how the features I recommend can be implemented by the Developer.

This is how the app currently looks like without the featuresScreenshot_20190329141346.png

This is an image showing how the Go To Page feature can be addedPicsArt_032902.29.59.png

This is an image showing the app with the highlight featurePicsArt_032902.34.53.png

The image below is showing how the app with the proposed Night Mode reading featurePicsArt_032902.37.00.png

This is an image showing all the proposed features present in the appPicsArt_032902.43.20.png

Benefits

The benefits of the features suggested above are as follows:

  • Go To /Jump To Page enables the user to easily reach and access their preferred page without stress and time wastage. It will greatly improve the user-friendliness of the app and bring in more users.

  • Ability to Highlight Texts while reading will enable users to easily and quickly share texts from the file being read or copy for research purposes. And also enables users to easily quote texts directly from the file being read whenever the need arises.

  • Night Mode Reading ability will enable users to read more comfortably and as long as they want without excessively straining their eyes. It will allow for the app to be enjoyed more by users and thereby increasing the app usage and popularity.

Conclusion

Implementing the aforementioned features may demand the developers would have to make major adjustments to the Pdf Reader Plus application. But this is really needed as it will on the long run benefit both the developers and the users.

The features that I recommend are very useful for users and developers because they will improve user experience later. And this will increase the usage and popularity of the app among current and prospective users. I hope, App developer implements these features very soon.

Thank You.

[Feature request] Ability to open PDFs through URLs

From what I know, only the inbuilt PDF Viewer in the Google Drive app and Librera can open PDFs through a link shared from the browser/another app.

Is that something that is feasible to add to this app? It would allow the user to view the PDF without having to download it.

Can't open PDF files from E-Mails

Issue Summary

When I open PDFs out of the AOSP E-Mail app, PDFViewer immediately crashes.

Steps to Reproduce the Problem

Open a PDF with PDFViewer from the AOSP E-Mail app.

Specifications

  • App Version: 3.0
  • Android Version: LineageOS 16.0 (Android 9.0)

[PdfViewer][v2.8]The app crashes if i enable navigation color.

Actual Behaviour

App crashes if i enable navigation bar color.

Expected behavior

Expected that i can enable navigation bar color without crashing the app.
  1. Install and open the app
  2. click three horizontal dot in top bar.
  3. Click change theme
  4. Enable Navigation bar color.
  5. See the error

Information

  • App version:v2.8
  • OS:Android 9.0
  • Device:Samsung A10

Recording Of The Bug

https://youtu.be/wZ2TxkJdiC4

LogCat


06-03 06:54:01.271  6252  6252 E AndroidRuntime: FATAL EXCEPTION: main
06-03 06:54:01.271  6252  6252 E AndroidRuntime: Process: com.gsnathan.pdfviewer, PID: 6252
06-03 06:54:01.271  6252  6252 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at com.jaredrummler.cyanea.b.e.m(Unknown Source:83)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at com.jaredrummler.cyanea.b.e.b(Unknown Source:8)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at com.jaredrummler.cyanea.a.d.onStart(Unknown Source:7)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1395)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.Activity.performStart(Activity.java:7348)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3139)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-03 06:54:01.271  6252  6252 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

Remember the last opened page

Issue Summary

Hi ther3, could you pls add the ability to remember the last opened page per document. Why is this so important? If you keep couple of apps opened and your app with a pdf opened at a certain page, after a period when you summon the pdf from background the app refreshes the pdf, that is, the pdf starts from page one, from the begining of the document, therefore, it's very hart to finish a book. But if the app remembers the last opened page, when android refreshes the app, the app starts the pdf from the page you were reading, so no damage. Otherwise, great app!

Steps to Reproduce the Problem

(write here)

Specifications

  • App Version:
  • Android Version:

[Suggestion] List of last opened PDFs

Hi! First of all I would want to thank you for developing this great PDF viewer.

I have a suggestion, I think it would be helpful to have a list of the last opened files in the main screen instead of the lorem ipsum sample file. What do you think about it?

[Feature request] Bring back example pdf document

Feature Request

I don't want to suggest to change the app start-up behaviour with the file manager showing up.
In case the file manager is closed without opening a file (by pressing back on the navigation bar), there should be the old example document "Lorem ipsum..." again instead of an empty view.

User Benefit

I think it looks better than just nothing and it was a useful feature to try out the handling of the app. F.e. trying interaction with the app by zooming in and out using different gestures, as well as checking how well the document is rendered while doing so. (It is possible to zoom with two fingers, or by double tap and holding with one finger, and then moving the finger up and downwards to zoom.)

[PdfViewer][v2.8]The app crashes if i click print.

Actual Behaviour

App crashes if i click print

Expected behavior

Expected that i can print the the file as pdf.

step to reproduce

  1. Install and open the app
  2. click "+" icon then click pic file and choose any pdf file from your storage.
  3. After loaded the pdf again click "+"icon and click print
  4. See the error

Information

  • App version:v2.8
  • OS:Android 9.0
  • Device:Samsung A10

Recording Of The Bug

https://youtu.be/BYT0H7479V8

LogCat


06-03 06:54:27.905  7209  7209 E AndroidRuntime: FATAL EXCEPTION: main
06-03 06:54:27.905  7209  7209 E AndroidRuntime: Process: com.gsnathan.pdfviewer, PID: 7209
06-03 06:54:27.905  7209  7209 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at com.jaredrummler.cyanea.b.e.m(Unknown Source:83)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at com.jaredrummler.cyanea.b.e.b(Unknown Source:8)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at com.jaredrummler.cyanea.a.d.onStart(Unknown Source:7)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1395)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.Activity.performStart(Activity.java:7348)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3139)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-03 06:54:27.905  7209  7209 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

[enhancement] auto zoom

Issue Summary

double tap to auto zoom

Details

In some apps (e.g. Firefox for Android) there is the possibility to zoom in on e.g. a textbox by double tapping that area. It would be great to have that feature in this app, too.

[Suggestion] Snap scrolling to x and y direction

Suggestion

Example:
I'm in Chrome and I zoom in on a website. Now I can scroll up and down by moving my finger upwards and downwards. Because I'm not perfect, my finger doesn't go a 100% straight path in y direction. Still the website only moves in y direction and not at all in x direction. Scrolling is snapped in only in y direction. If I change direction, scrolling becomes free from that point and I can move the view 360° in all directions. Same applies for scrolling horizontally.

This feature is missing in Pdf Viewer Plus.

Czech translation of the play store / f-droid descriptions

Play Store:

Jednoduchý prohlížeč PDF dokumentů
--
Pdf Viewer Plus je open source PDF prohlížeč.
 
Funkce
--------------
<> Umožňuje otevřít PDF odkudkoli
<> Umožňuje sdílet PDF
<> Mnoho témat

F-Droid:

Pdf Viewer Plus je plynulý prohlížeč PDF napsaný v Javě. Obsahuje jednoduché uživatelské rozhraní, mnoho témat a umožňuje sdílet PDF.

And I updated the Czech translation of the application - Pull Request #51

[Suggestion] Allow multiple instances

Issue Summary

When opening a PDF the currently loaded PDF will be replaced by it. Instead it would be better to open the PDF in a new instance. This would allow multiple PDF to be open at the same time.

Could not find Android Manifest File

After migrating to AndroidX, when generating signed apk, I am getting this error: error: Could not find the AndroidManifest.xml file, using generation folder [C:\AndroidXProjects\PdfViewer\app\build\generated\source\apt\release])

Addition of pdf efitor

Hi
I find the app quite interesting as it has the ability to play with pdf files. The thing I noticed is that this app is unable to edit the pdf. So I want to suggest that app should be able to edit pdf files too.
Moreover I will provide a proposal description if you want it to implement.

Add share intent

There is no pdf viewer for Android that is able to share the opened file.to another Intent.

If I open an pdf from an e-mail i open it to check what to do with it - and normally i want to share it than to something like my owncloud instance or something like this.

I think this is an easy but productive feature that other pdf readers are missing.

[PdfViewer][v2.8]The app crashes i click back icon from about page.

Actual Behaviour

App crashes if i click back icon from about page.

Expected behavior

Expected that i can go back successfully without crashing the app
  1. Install and open the app
  2. Load a pdf by clicking "+" sign(you must laod a pdf to reproduce the bug).
  3. click three horizontal dot in the top
  4. Click about
  5. Click Replay intro.
  6. After replaying click the back icon from page
  7. See the error

Information

  • App version:v2.8
  • OS:Android 9.0
  • Device:Samsung A10

Recording Of The Bug

https://youtu.be/4AxtB4ilb3s

LogCat


06-03 06:55:07.894  8155  8155 E AndroidRuntime: FATAL EXCEPTION: main
06-03 06:55:07.894  8155  8155 E AndroidRuntime: Process: com.gsnathan.pdfviewer, PID: 8155
06-03 06:55:07.894  8155  8155 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at com.jaredrummler.cyanea.b.e.m(Unknown Source:83)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at com.jaredrummler.cyanea.b.e.b(Unknown Source:8)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at com.jaredrummler.cyanea.a.d.onStart(Unknown Source:7)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1395)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.Activity.performStart(Activity.java:7348)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3139)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-03 06:55:07.894  8155  8155 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

Android 5.1 - Not appear in the list of applications that can open PDF files.

Issue Summary

On Android 5.1 (emulator), when I try to open programmatically a PDF file, PDF Viewer Plus is not displayed in the list of applications who can open these files

Steps to Reproduce the Problem

intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(filePath), "application/pdf");
intent = Intent.createChooser(intent, "Open File");
startActivity(intent);

Specifications

  • App Version: 3.3
  • Android Version: 5.1

Other

If I remove host and scheme in the Manifest f PDF Viewer, it's working fine.

<intent-filter tools:ignore="AppLinkUrlError">
  <action android:name="android.intent.action.VIEW" />
  <category android:name="android.intent.category.DEFAULT" />
  <category android:name="android.intent.category.BROWSABLE" />
  <data android:mimeType="application/pdf" />
</intent-filter>

App crashed when I clicked on app back icon in settings

Issue Summary

When I clicked on the app back icon in settings after I open a pdf file the app crashed.

Steps to Reproduce the Problem

  • Click on + icon on the app
  • Click on pick file to select any pdf file
  • Open a pdf file and click the 3 dots at the top
  • Then click on settings and click app back icon
  • And note the bug.

Screen recording.

https://youtu.be/OSfT5J5OfC4

Specifications

  • App Version:3.1
  • Android Version:7.0
  • Device: Gionee X1

Log

07-08 22:41:03.837 19475 19475 E AndroidRuntime: Process: com.gsnathan.pdfviewer, PID: 19475
07-08 22:41:03.837 19475 19475 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gsnathan.pdfviewer/com.gsnathan.pdfviewer.MainActivity_}: java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3AXender%2Fother%2Fmaxadvance-form-private-organizations.pdf from pid=19475, uid=10125 requires android.permission.MANAGE_DOCUMENTS, or grantUriPermission()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2477)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.app.ActivityThread.-wrap11(ActivityThread.java)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1345)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:5452)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: Caused by: java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3AXender%2Fother%2Fmaxadvance-form-private-organizations.pdf from pid=19475, uid=10125 requires android.permission.MANAGE_DOCUMENTS, or grantUriPermission()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.os.Parcel.readException(Parcel.java:1599)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:235)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:176)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.content.ContentResolver.query(ContentResolver.java:491)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.content.ContentResolver.query(ContentResolver.java:434)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at com.gsnathan.pdfviewer.e.b()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at com.gsnathan.pdfviewer.e.a()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at com.gsnathan.pdfviewer.e.e()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at com.gsnathan.pdfviewer.MainActivity_.a()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at f.a.b.a.c.a()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at com.gsnathan.pdfviewer.MainActivity_.setContentView()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at com.gsnathan.pdfviewer.MainActivity_.onCreate()
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:6305)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
07-08 22:41:03.837 19475 19475 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2370)```

Addition of feature which can retain the already opened file

Here I want to suggest that the app should be able to retain the already opened file, I mean upon opening the second file, which I have picked up once, I may not need to pick up the file from the file manager, but I should be able to pick it from the pdf viewer directly
Thanks......

Application crashes

Issue Summary

The applications crashes during start via launcher after some file via intent has been opened before

Steps to Reproduce the Problem

  • open some PDF through intent (E-Mail attachment)
  • close application with back button
  • open the application again from launcher

Specifications

  • App Version: 3.2.23 (fdroid)
  • Android Version: 7.1/8.1

Document functions

Issue Summary

What the Page Snap and Page Fling functions do?
I activated and deactivated both and couldn't notice any difference in the navigation

Specifications

  • App Version: 3.3
  • Android Version: 10

Texts are not as crisp as mupdf

Issue Summary

Screenshot_20201130-201223
Screenshot_20201130-201213

I have high quality rendering and anti aliasing enabled.

Specifications

  • App Version: 3.3
  • Android Version: 10

Add option to cut off borders

Issue Summary

Some documents have large white borders at the left and right edges. In order to have to text filled the screen, you have to zoom. However, 1) this is an extra step and 2) you end up with possible additional vertical scrolling.

For instance, Okular has the neat feature to simply cut off the borders. It would be interesting to have it here too!

Specifications

  • App Version: Latest F-Droid

[Bug] Missing app title

Issue Summary

The title bar of the app is empty when no file is opened.

Expected Behaviour

If no file is open, the title of the app should be displayed (Pdf Viewer Plus) on the title bar instead of nothing.

Steps to reproduce the problem

  1. Open the app (without opening a pdf file)
  2. Press back from the file Explorer

Screenshots

Screenshot_20200604-150832_Pdf Viewer Plus
   empty page, no app title

20200604_151557
   f.e., app title on a different view

Specifications

  • App Version: 3.3
  • Android Version: 8.0.0

[Suggestion] Add Full Screen Mode

Hello!
A full screen mode/read mode would be a nice feature. For example, you tap once at the PDF and the toolbar on top of the pdf, the navigation bar and the status bar disappears (or appears if the full screen mode is enabled).
Or toolbar, navigation bar and status bar disappear automatically after a few seconds.

Its only a wish/suggestion. I dont know how much work it is.

Thanks a lot for your work until now 😃 👍

Specifications

  • App Version: 2.7
  • Android Version: Lineage 15.1.

App is blank when copy the apk in /system/app/*

Issue Summary

App is blank and unusable when i copy the apk in /system/app, when i installed normally and move the folder inside /data/app to /system/app works normally

Steps to Reproduce the Problem

Download the apk and copy in /system/app/PdfViewer, reboot and open the app in launcher icon

Specifications

  • App Version: 3.1
  • Android Version: 7.0

PDF is empty when opened via Signal Messenger

Issue Summary

I am using PdfViewerPlus v3.2 from the Playstore and Signal v4.52.4 also from the Playstore. When I open a pdf from signal, it is shown empty. This does not happen if I safe it locally and open it via a file browser. This does not happen with other pdf Applications, like "mupdf viewer"

Steps to Reproduce the Problem

  1. Open Signal, select a contact (that also has signal, or use note to yourself)
  2. Send him any pdf file (mine was generated using libreoffice export)
  3. Open the pdf that you send the other person

Specifications

  • App Version: 3.2
  • Android Version: 9 (Android One, Xiaomi A2 Lite)

Similar Issues: #28

Fast scroll button is hidden underneath bottom toolbar

Actual behaviour

If you scroll to the bottom in a long document, the fast scroll button is hidden underneath the bottom toolbar:
20200607_194338

Expected behaviour

The fast scroll buttun should always be visible. It should start from the top of the area where the pdf document is displayed and go to the bottom of it. The probleme is, the way that the scroll button has to go changes when the bottom toolbar is hidden and the display area becomes bigger. Also the position of the scroll button has to move to be still correct whenever the bottom toolbar appears/disappears. This movement should be a fluent animation and not a jump.

Application crashes on Android 10.

Issue Summary

Application crashes on Android 10.

Steps to Reproduce the Problem

As soon as you try to use the file picker the application crashes. If you try to open a PDF from another program's action it crashes. Uninstalled and reinstalled to no effect.

Specifications

  • App Version: 3.1 via F-Droid
  • Android Version: 10

text selection and copying to the clipboard

Summary

There should be the possibility to select text and copy it to the clipboard.

Details

Usually long pressing on some text will select the text. This should also be true for this application.
There should be a selection with two cursors shown and an option to copy the selected text.

Use case (one example)

I want to add an email address from a pdf to my address book. Clicking on the link opens my mailing app which doesn't allow me to copy the email address either.
This feature would allow me to copy the email address immediately.

Feature Request

Hi your app is very beautiful. However, some features are missing to make it perfect
  1) viewing the document in full screen
  2) search button in the document
  3) night mode for documents
  4) ability to access all pdfs on your phone when you open the app

[suggestion] sharing

Issue Summary

There is no way to share a file directly from the app. It would be nice to have.

Specifications

  • App Version: 2.7
  • Android Version: 8.0

Pdf viewer can't view password Secured files

Issue Summary

I expected that the application should open password encrypted pdf files by prompting an "insert password" message or at least unlock when the file when the "Unlock Secure PDF" option is used and the correct password was inputted. But surprisingly this does not work and the secured file remain unopened.

Steps to Reproduce the Problem

  1. Launch the pdf viewer plus application
  2. Click on the FAB with the '+' sign at the bottom right corner
  3. Click on "Pick File" and select a password secured file
  • It will be observed that there is no change in output (part of bug)
  1. Click on the FAB with the "+" sign again
  2. Then click on "Unlock Secure PDF", A pop-up window will appear for you to insert password, input the correct password and press 'ok'.
  • It will be observed that there is still no change in output whatsoever, hence, the bug.

Specifications

  • App Version: Pdf Viewer Plus v2.7
  • Android Version: 6.0

Recording of the bug

https://youtu.be/VprR-NeSDF0

The "+" icon obstructs the view

Issue Summary

Today, I couldn't scan a train ticket because of the "+" icon:

D1xHHnvXQAA3RIm

Specifications

  • App Version: 2.7
  • Android Version: 8.1.0 (Lineage OS + microg)

Translations

@raspbeguy @Greynar

Again, thanks for your help on translations! I also would appreciate if you all would help in translating the play store descriptions also...

Here it is:

A simple PDF document viewer.
--
Pdf Viewer Plus is an open source PDF viewer.
 
Features
--------------
<> Ability to open a PDF from anywhere
<> Ability to share a PDF
<> Many themes

Lock vertical scrolling when zoomed in

Issue Summary

When a user zooms into a pdf (eg if he wants to get rid of a border) and then uses the finger to scroll, the view fully moves with the finger, not only vertically but also horizontally.
This can be strange for text only pdfs where the text is then jittery on scrolling.

Afaik this is working as intended, but maybe an improvement would be to "lock" horizontal scrolling when the zoomfactor is above a threshhold

Steps to Reproduce the Problem

Zoom in and use finger to scroll down

Specifications

  • App Version: 3.2
  • Android Version: lineageos 16.0

[enhancement] jump to next PDF file at end of file

Issue Summary

I'm using my andro to display parcel slips at the parcel shop. Each is one pdf doc, the clerk at the office has to scan all of them. Would be great to have an option to swipe through all the pdfs within the folder where all these pdfs live.
Means: The app should jump to the next file when the last page is reached.

Not everyone will like this behaviour, so it should be selectable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.