yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] arpruss:
I think it's a bit confusing to have it change size when the screen rotates, no?

I don't remove useful settings.

It is, as are the vertical and horizontal positions.

It's not a bug in APV. It's the double-tap to zoom 2X feature. I eventually plan to allow users to turn it off.

It's not an easy feature to implement, especially since I don't own a multitouch device. In the meanwhile, you can double tap on a point to zoom in right there.
[Android Apps and Games] sark666:
Hmm, I guess it's because of the auto-fit features others have; most pdf readers fit the page when going to portrait. But as I mentioned, auto-fit doesn't usually suit my needs. I guess I was just trying to convey that the zoom level used for landscape is probably not the zoom level someone would want for portrait. If I had a larger device, I may want to use portrait more.

Ah that's must be what I had done (double tapping the screen). yeah I'd prefer that off. Yes I thought pinch to zoom is a little trickier and probably even more so my suggestion of making it 'sticky' when the user pinches and reaches a zoom level near their previous value, but I think it would be nice. And I can imagine if your device doesn't support it, it would make it much harder.

Anyway, it baffles me apps like adobe's official reader not remembering what page I was on when I re-open a pdf. But I was mainly looking for a pdf reader that remembered my zoom level, so this will be the reader for me going forward.

After pinch to zoom and maybe some optimisations on the scrolling through pages, the nice to have's would be bookmarks and annotations, but I believe others requested those and you are working on more core features/bug fixes still.

Anyway, great app so far thanks again.
[Android Apps and Games] sark666:
I thought of another option that might be beneficial to add to your double-tap zoom. If you double-tap again, revert back to previous zoom level. I attempted to use the double-tap to look at a graphic within a pdf more closely, and then wanted to return to my previous zoom.

As it is, double-tapping again zooms in again. After the zoom has been doubled once, I can't imagine a scenario where someone would want to 2x zoom again.
[Android Apps and Games] arpruss:
Well, 2X may not be good enough, if the screen is small and there is something quite small on the page.

But I like the idea of returning with a double-tap. It's looking like I should make the double-tap configurable between these options;

1. No action.

2. Zoom 2X.

3. Zoom 2X or return to previous zoom level (unless other zooming intervened).

4. Zoom to paragraph width (once I figure out how to detect paragraphs).
[Android Apps and Games] sark666:
Glad you like the suggestion. It would certainly work for my needs and I think others as well. yes, I guess on really small devices, or really small images, someone would want to continue 2x zooming.

Btw, how far down the line are bookmarks?
[Android Apps and Games] arpruss:
Not that far. We really don't have many bug reports. Tell me a bit about what you'd see for bookmarks. Are you looking for in-file bookmarks that can be browsed when you're viewing the file, or for the possibility of viewing together the bookmarks for all documents? The former would be more straightforward.

I assume the UI would be: tap on menu, then on more, then on bookmarks. Then you get a list of bookmarks. You can tap on one to go to it, long hold to delete or rename, and there is a "new" button. If you choose that, you need to type in a bookmark name (you get "page n" as default, maybe), tap on OK, and you've created a bookmark.

Each bookmark stores zoom and file position.

The bookmarks would probably be shown in order from the beginning of the file.

Bookmarks are very important to me, too, since I'm a humanities scholar.
[Android Apps and Games] arpruss:
Or a PDF file with very large images. :-)
[Android Apps and Games] carolcheng:
Nice feature. I'd love to try it in my office.
[Android Apps and Games] arpruss:
The zoom in/out option (and the ignore double tap option) are in 0.3.1dev1.

http://code.google.com/p/apv/downloads/list
[Android Apps and Games] sark666:
I'll comment more on the bookmark functionality later, but pretty much what you described is what I'd like to see.

I just installed the 3.1dev1 and I see the 'double tap opton' and it's defaulted to zoom in or back out, however double-tapping is continuing to zoom for me.
[Android Apps and Games] arpruss:
It only zooms back out if you didn't use some other method to adjust the zoom after zooming in, since then you in effect have a new base zoom level, and the next double tap will zoom again. (I think rotating the device may also make it forget about the return. That's not ideal.)

I just tried it in the 2.1 emulator and it was working as intended.
[Android Apps and Games] sark666:
Ok, just to clarify let's say I use the middle button in the zoom icons and it fits to width. Then I click the zoom in icon a few times to get rid of any dead space (white margins). I leave it at this zoom level throughout my reading.

Then I double-click (not using the icons obviously but just anywhere else on the screen) to zoom in and look at an image, what I had expected was then I double-click and it will zoom back out to the previous zoom setting. As I mentioned, once I have my desired zoom setting for a book, I never change it throughout reading.

So I believe I'm doing as you describe but yet not seeing the zoom functionality expected. I'm running cyanogenmod 7.0 on a nook color.
[Android Apps and Games] arpruss:
It sure sounds like something is wrong. Can you install a fresh pdf file, ideally a short one, load it, and without doing anything else, double tap to zoom, and then double tap again, and see if it works? This might help me figure out where the bug lies.
[Android Apps and Games] sark666:
I found two small pdf's that I have never loaded before. The first one I loaded while holding in landscape and only did double-tap which resulted in a 2x zoom but unfortunately, double-tapping again resulted in another zoom.

Tried the 2nd pdf while in portrait orientation but unfortunately the same thing. I see your reasoning to see if a pdf that had no pre history (prior zoom, last page read) but it doesn't seem to have an impact in behaviour on my end.
[Android Apps and Games] arpruss:
I don't know what is going on. Can you try to set the double tap option to 'none' and see what happens then?
[Android Apps and Games] sark666:
I tried that actually. Works as described, with double-tap doing nothing. I thought since zoom in/out was the default maybe it wasn't actually enabled until I swtich to something else and then back, but it didn't work.

Doh! I didn't think to try just 'zoom in'. Zoom in for me does what I thought zoom in or back out does. With zoom in selected, one double-tap - 2x zoom, double-tap again reverts to previous zoom.

So could the menu options be skewed for me? I'm glad this works now but the functionality seems flipped, going by the description anyway.
[Android Apps and Games] arpruss:
I think I see the issue. Try 0.3.1dev2.
[Android Apps and Games] hibeatles:
hi,arpruss ~

I use apv in my rooted Nook 2nd Edition Touch(N2E). I compare it with other pdf reader in android market , I think it's the best pdf reader in N2E.

But N2E use the eink screen , so could you add some support to next Version:)

1.NOOK 2nd Edition Touch has 4 Hardware Buttons for scrolling and turning pages , I found KeyEvent in this post

Could add this to let the Hardware Buttons work ?

2. eink's refresh rate is very slow, so the bulid-in reader has Partial Refresh method. In this post #8 ,DairyKnight give a epd source to let app running in Partial Refresh method.

3.By the low refresh rates , when scrolling or turning pages, zoom buttons show and disappear . The whole process is very shining. So could you please give a option to complete forbide showing the zoom buttons.

Sorry to ask too much , I don't want to be rude :)

Good job arpruss;)
[Android Apps and Games] arpruss:
I don't really understand. Which buttons would you like me to bind to which actions?

Can you tell me what partial refresh is?

Should we bind the zoom action to two of the hardware keys, maybe? If so, which ones? I really don't know anything about the nook, not even what the layout of its keys is.
[Android Apps and Games] sark666:
beta 2 solves the option swap issue on the double-tap zoom thanks!

The low refresh the other user is talking about is his device is an e-ink display, similar to a kindle, kobo etc. His nook reader is still android based but it's typically not good for (at all) for scrolling through text by touching and dragging. They are typically operated by buttons going next page/prev page etc.

Just wanted to clarify that as I mentioned I have a nook as well. But mine is the nook color which is sold as a ereader as well, but has an lcd display similar to most tablets, and a lot of users have since put on cyanogen mod on it.

I'm not sure about the nook e-reader, but usually e-ink display devices are more driven by buttons and have no touch screen capability, so that's why he wants button binding. Some of the e-ink displays now have touch capability (not sure if the latest nook e-ink does) but again the extremely low refresh rate makes it cumbersome to use by touch instead of buttons.

Just curious what features you are implementing next. Hoping bookmarks are next in the pipeline. After that it would be nice to see some means of highlighting blocks of text or annotations.
[Android Apps and Games] hibeatles:
NOOK2 has 4 Hardware Buttons . I wish to push left and right top button to flip to next page , push left and right button button to flip to previous page.

So we flip pages on both hands like use volume button.

Eink screen is different with LCD screen. I find a video attach below. At 1:44, nook 2 use the partial refresh method , the screen becomes black after 6 pages change. Kindle 3 use total refresh method so it becomes black when every page changes. Normal android apps ruuning in nook 2 use the total refresh method, so i wish to add the partial refresh method . It will reduce the screen shning.

[YOUTUBE]zpaPVzm3-eI[/YOUTUBE]
[Android Apps and Games] sark666:
@hibeatles

As I mentioned I have the nook color but was considering getting a nook touch ereader as well. However the kobo touch seemed better in regards to pdf's and especially the kobo's webbrowser.

However if this app works on the nook touch that could probably tip the tide for me. If you don't mind describing how well it works.

This video shows your device with various android pdf viewers. I dunno, I think the refresh would annoy me after a while.

http://www.youtube.com/watch?v=ayAcdHuI5hw
[Android Apps and Games] arpruss:
Bookmarks are in process. Most of the backend is done--I just have the UI to do.
[Android Apps and Games] arpruss:
Wouldn't it be better to reserve two of the buttons for zoom?

Also, won't one still need to drag horizontally to adjust horizontal position, at least until we have code that auto-detects the width?
[Android Apps and Games] hibeatles:
When i zoom a pdf in Suitable level , I wouldn't change it frequently. I think leave the button to filp pages will be fine.
[Android Apps and Games] hibeatles:
The pdf reader in that video don't use partial refresh . So whenever the screen changes, it becomes black and redraw. Later, I will record a video to show how pdf viewer works.
[Android Apps and Games] arpruss:
I may have misunderstood, but I thought that part of the request was to disable the on-screen zoom buttons. So, how would you zoom? Or did I misunderstand something?
[Android Apps and Games] hibeatles:
Could you add a option in menu to decide to show or not to show the zoom button. Because I find apv can remember the zoom level which i used in latest time. So when i read a new book , i can set a situable zoom level .Then i forbide showing the zoom button in meun. I don't need zoom button anymore. All i need to do is push the side button to read. When i need zoom button, i can set it on the menu.
[Android Apps and Games] arpruss:
That's far from convenient!

How about this for an e-ink mode:

1. The zoom buttons disappear sharply--no animated fading. (Easy to arrange.)

2. The zoom buttons don't show up when you flip pages with hardware buttons, only when you actually touch the screen. (Also easy.)

I don't know what to do about the fading page numbers. Just turn them off?
[Android Apps and Games] hibeatles:
I think this is better :)

The fading page numbers can be turned off, it's too small in nook2
[Android Apps and Games] arpruss:
Do the Nook buttons you want to use for paging have any names that I can use in the documentation? "Left up/down" and "right up/down"? My current plan is to allow the user to independently configure these pairs:

1a. press on-screen zoom button

1b. long hold on-screen zoom button

2. volume buttons

3. dpad up-down

4. dpad left-right

5. the aforementioned nook buttons

Each of these pairs of keys can then be bound to:

scroll left/right

page up/down

zoom 2%--100%

nothing

This will give nice flexibility.
[Android Apps and Games] hibeatles:
I think usually it called "left top/bottom" button and "right top/bottom" button.

Could add a mode "page down/up " to bind the keys.

Because when we reading most using feature is page down. Someone like the top button, someone like the bottom button. This can give user more choice.
[Android Apps and Games] arpruss:
Can do, I guess.

How well do things like menus, scrolling through lists to find a PDF, etc. work on eink devices? Is it all usable?
[Android Apps and Games] hibeatles:
NOOK2 bases on android 2.1 . So it has most feature of android.

Menus, scrolling list to find a PDF can work noramlly.

I think the differnet between NOOK2 and noraml android pad/phone are :

1. eink screen

Refuse slow by save power. Animation effect in nook2 sucks

2. Don't support Multi-touch

It only support one ponint touch. So any Multi-touch Gesture can't work

Except this, i think nook2 doesn't have too much different with other android device
[Android Apps and Games] arpruss:
Since scrolling is normally a smooth and animated event, isn't it painfully slow? Or can one page through lists using the up/down keys? (If not, I can add that feature in the PDF file browser.)
[Android Apps and Games] hibeatles:
Do you mean scrolling in build-in file browser or in setting menu?

Nook2 has Modified something in android. It Splits the file list or setting list to pages,just like the book. When filp the list ,it changes by page. And don't have animated effect.

And i find in new version of apv ,it already can push two sides button to scroll in file browser and setting menus.
[Android Apps and Games] arpruss:
OK, I finally looked at this, and sent an email to DairyKnight asking for permission to use his code under GPL3.
[Android Apps and Games] arpruss:
OK, bookmarks not done yet, but I did do something in regard to eink support. I don't have partial refresh, but there is now an eink mode. The eink mode disables smooth animations--zoom and page just appear and disappear completely. Moreover, in eink mode, using hardware buttons doesn't make the zoom and page display show up--only touching the screen does that.

Finally, dpad left/right, dpad up/down (= nook left buttons), volume, nook right buttons, zoom in/out, and long-touch zoom in/out are all customizable. For instance, if you're kind of crazy, you can use zoom in/out to page through your file, etc.

The full page up/down action is kind of useful. I haven't tried it out much, but it means that if you align the top of one page's text (not margin) with the top of the screen, zoom so you can see all the text, and then press a key bound to full page down, then the next page should appear with similar vertical alignment.

It's in dev3:

http://code.google.com/p/apv/downloads/list
[Android Apps and Games] Mangala_Dharma:
Hello, I have read your tread and this is a good pdf reader. However a while ago you wrote about exporting pdf files to html like it was something you might implement and personally I read novels in pdf and opera mobile browser is good with reflows of text in web pages. Do you think you might consider that option still? Thanks :-)
[Android Apps and Games] arpruss:
I'd rather just export to text. I like the idea of the feature, but I have some legal worries.
[Android Apps and Games] hibeatles:
page up/down action is great!

right buttons work , but left buttons don't work in nook2 :confused:
[Android Apps and Games] arpruss:
But "don't work", do you mean that no matter what actions you assign to dpad up/down, nothing happens when you press the left buttons?
[Android Apps and Games] hibeatles:
yes, I tried every action , none of them work.

But i find when i wait the zoom buttons disappear , I click the left button ,and zoom buttons appear.

Dose this mean apv has answered the button,but buttons don't bind to function?
[Android Apps and Games] rogier666:
What legal worries? Every PDF viewer I've ever used has an option to select text and copy it to wherever you like.

There are way too many PDFs out there that are useless without pictures. Manuals, scientific papers, etc. Just extracting the text is not enough. The goal is to reformat the content so that you can read the text at a legible font size and see the images without horizontal scrolling.

I'd reformat to HTML and send the output to a mobile web browser. They're designed to reflow text and images in a way that eliminates horizontal scrolling. There's no need to reinvent the wheel.
[Android Apps and Games] chrysilis:
Why not just use calibre or similar? I realise that involves using a PC but there is no need to reinvent the wheel :)
[Android Apps and Games] rogier666:
Porting calibre to Android so that it works on a phone, now that would be a good idea. Any devs here willing to give it a shot?
[Android Apps and Games] Mangala_Dharma:
Yes, on my old ipod touch there is this " goodreader" with reflow for the text, however I tend toward doing everything I can on my android phone. I did not find an export to text part in your app, I'll look into it, I'd just like a good solution for reading pdf novels on Android phone, older optimus p500. I don't like constant scrolling from left to right while reading if I can avoid it. If you manage a good option, let us know :-) I appreciate talking to actual devs :-)
[Android Apps and Games] techvish81:
great app indeed.. with the addition of volume button operation and disable for the zoom buttons, u have made it super user friendly,,

just repeating my wish to change the icon.. i can design one if u say? i am not a dev.. so can only create a piece of graphic work in an image file format.
[Android Apps and Games] techvish81:
icon image

hi!!!

see this, or guide me what exactly it should look like..
[Android Apps and Games] arpruss:
PDF files have flags whether text export is permitted. The official PDF viewer will check that flag, and a lot of ebooks will set the flag to disable text export, I expect, thereby limiting the usefulness of the feature, at least for me, if the PDF viewer checks the flag. I don't know if it's legally necessary to check the flag. I am also trying to figure out if there is some technical work-around. For instance, it might be OK if the text was somehow kept in a temporary storage and deleted as soon as the user exited the viewer.

Unfortunately, web browsers tend to lack the feature set of a good ebook viewer. So this isn't ideal. Moreover, I don't know how well a mobile browser would handle a 300 page document.
[Android Apps and Games] arpruss:
Did they work in previous versions for you? I have a vague recollection--but can't find it--that someone in this thread said that the left buttons worked fine with previous versions.
[Android Apps and Games] hibeatles:
I tried the version from 3.0 beta 16 to 3.1 dev 3 , but none of left buttons work
[Android Apps and Games] arpruss:
Do the right buttons work on the earlier versions?
[Android Apps and Games] arpruss:
Never mind: I just figured it out. I erroneously thought the Nook left keys were generating dpad up/down. But they were generating page up/down, which is different. dev4 should work.
[Android Apps and Games] hibeatles:
Thanks arpruss!

Could add "page down/up" mode at key actions and change the background color at file browser and pdf viewer to white in eink mode?
[Android Apps and Games] arpruss:
I worry that too many options confuse users, but I might add "page down/up (reversed)" and ditto for screen.

I tried to change the background color for the file browser with Activity.setTheme() and got a weird result: the list was black on black, except when it scrolled when it was black on white. I really don't know enough about the relevant APIs, and I don't know how much time I want to spend on it.
[Android Apps and Games] hibeatles:
That's too weir, does the pdf viewer's background has the same probelm?
[Android Apps and Games] arpruss:
By "background", I assume you mean the spacing between the pages and any margins around them?

I haven't tried it there--I think it would be fine. If you like, I can implement just that part easily.
[Android Apps and Games] hibeatles:
yes, i mean the spacing between the pages and any margins around them.

Changing this to white will be better in eink reader.
[Android Apps and Games] arpruss:
Dev6 has the white background on eink and the reverse page buttons option.
[Android Apps and Games] hibeatles:
two sides of buttons work well.:)
[Android Apps and Games] arpruss:
Just noticed that DairyKnight added a copyright explanation to his nook2 partial refresh code, and so I was able to implement it. Obviously, I couldn't test it (well, I tested to make sure the code is getting invoked), but it's in dev7, so let me know if it does anything for you. You need to set the Nook2 option in addition to the standard eink option.
[Android Apps and Games] pavanmaverick:
This is the best PDF viewing application. Great job, and thank you for sharing. I'm using a Hero, and comparing speeds between this, Repligo, EZPDF and the Adobe application. For pulling up and viewing a PDF, this thing blows the other two out of the water. Of course, if you want commenting and other fancy features, you'll need something else.

Terrific job!
[Android Apps and Games] arpruss:
That's very kind of you. You might want to post it in a review in the Market. :-)

I am particularly pleased you like the speed, because I actually think it's a bit slow.

As for fancy features, they may be added one by one. If the Nook stuff works, bookmarks are next. And after that, maybe highlighting.
[Android Apps and Games] sd97cl:
Thanks, I needed a pdf viewer.
[Android Apps and Games] hibeatles:
I turn the NOOK2 fast e-ink refresh on ,it will not turn the pages black when page up and down. But it also can't reclean the pages after turn 6 pages. I use fbreader modified by DairyKnight, turning 6 pages ,it can turn the page black and then redraw to make screen clean. I think it's the same code:confused:
[Android Apps and Games] arpruss:
So what happens after six pages? Can you post a photo?
[Android Apps and Games] hibeatles:
I record a video. First i use FBreader, We can see every 6 pages it will turn black and clean the screen.

Then i use apv , it will not turn black whatever times i click.

I think apv has same refuse method as Fbreader

[YOUTUBE]YySOy0j0xvs[/YOUTUBE]
[Android Apps and Games] arpruss:
I am confused--I can't tell from the video what's wrong with apv. It seems to be flipping the pages fine.

What do you mean by "clean the screen"? (Remember, I know nothing about eink.)
[Android Apps and Games] vdubjim:
Just found this page after my frustrated search for a decent pdf viewer :)

I must say i like yours the best so far BUT like all the rest, is there a limit on the file size or something for the search to work? Most just crash or dont work. yours finds the word for maybe 10 pages, then stops highlighting in red.This book is 1500 pages long with line drawings, no color.

This pdf works fine on the computer, i wonder if its too complex for android apps?
[Android Apps and Games] arpruss:
Hard to say without the pdf. Would copyright allow you to send me the pdf or a link?