Comments (3)
Original comment by mpietrzak
on 22 Apr 2010 at 8:21
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from apv.
I also get the problem, the I read the source file pdfview2.c , I found the
method parse_pdf_file :
if (pdf_needs_password(pdf->xref)) {
int authenticated = 0;
authenticated = pdf_authenticate_password(pdf->xref, "");
if (!authenticated) {
/* TODO: ask for password */
__android_log_print(ANDROID_LOG_ERROR, PDFVIEW_LOG_TAG, "failed to authenticate with empty password");
return NULL;
}
}
in the source , but I don'n know how to do
Original comment by [email protected]
on 6 Feb 2012 at 3:11
from apv.
Hi Maciel n WangNin,
If you have static pdf password, just put in this line
"authenticated = pdf_authenticate_password(pdf->xref,
"put-your-password-here");"
At least that was i'm doing :)
Best Regards,
Santo
Original comment by [email protected]
on 6 Feb 2012 at 4:27
from apv.
Related Issues (20)
- Subsequent pages are blank after zoom in
- android 4.2 landscape can't restore recent data
- apv should remember offsetY
- wrong position of paragraphs - partly off the screen HOT 1
- Android 4.4.x requires READ_EXTERNAL_STORAGE permission HOT 1
- /storage/emulated/0 - empty after android 4.4.2 update HOT 1
- How to use APV in android app
- Source Code
- PDF renders with white pages
- How to turn on Horizontal scrolling
- Exception in Libc after loading password protected file.
- Text being cut out between pages with Text Reflow
- Cannot trigger errorMessageDialog in PagesView
- dosnt work, dosnt show any file
- APV won't open locally-stored PDFs HOT 2
- Left / Right buttons aren't configurable HOT 1
- Feature: More recent items
- java.lang.UnsatisfiedLinkError: cannot locate '__isnanf'
- Crash when opening several pdfs consecutively
- Project migration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apv.