-
Notifications
You must be signed in to change notification settings - Fork 43
make scrolling and page turns e-ink friendly #28
Comments
Honestly, I have no idea what would be involved in making that happen. Aard Dictionary uses standard WebView component and doesn't implement it's own scrolling and scrolling animation. One would think that vendor who puts Android on an e-ink device should do the adaptation of all the standard components to replace animations designed for regular screens with something that works for e-ink. Volume up/down already scrolls using WebView's standard page up/page down. Does that also flicker a lot? |
Yes, it does. Looking around on the web I find a recurring theme "we had to rebuild WebView from scratch to adapt it to the e-ink display" One more detailed info (about a component called WebKit here) is from http://www.collabora.com/services/case-studies/irex : The Digital Reader's special e-paper display led to new challenges. To adapt WebKit to electronic ink displays, and to reduce eyestrain and power usage, Collabora's developers added code to reduce the number of refreshes, allow a book-like page by page view of web pages, and show useful and meaningful placeholders instead of animated content. Collabora developer Marco Barisione gave a talk Hope this helps. If we can identify and replace the culprit, there is hope that many more apps can be made e-ink friedly. |
Here are some links to code how other applications do it. Maybe their display engine could give hints for flicker-free scrolling and page turns: github.com/kobolabs/Kobo-Reader |
Hi, I contacted the author(s) of cool reader on their implementation of support@coolreader.org Author is DairyKnight from xda-developers. At least you can use it under GPL. 2012/1/14 itkach
|
I don't see how any of this can be used in aarddict. |
Looks like a not so easy task. Ideally, display components for e-ink devices should be part of the Webkit's WebView framework. I've submitted a feature request via Alternatively, you could get in touch with dairyknight (dairyknight@gmail.com) for his N2EpdController |
itkach, The developers actually did implement flicker-free partial page refresh in their app: You might get support from |
I use next code for my nook port of aarddict: // from kbs - trook.projectsource code.
|
Hi Max, thanks for sharing, does this reduce the page refresh flicker? |
It just scroll page to target location without animation ) |
Is there a apk-package available for eink-devices like the prs-t1 which implement the changes of max-kammerer? |
All e-ink related patches submitted to me were accepted and are incorporated into the application. There is no separate apk. Special article view for e-ink displays should be used automatically when e-ink display is detected, at least on some devices. I can't comment on how well this works not having any e-ink devices myself. |
According to code supported devices are only the SONY PRS-T1 and Nook ST: But it's seem that it is easy to add other devices |
So the changes are live in the current version available on the google playstore market? I do use a PRS-T1. |
Yes, but since you ask I assume it doesn't work for you? |
What about adding PRS-T2? Should be really a quick-fix. Perhaps you can replace a check with |
Quick fix it may be, but somebody needs to test this and I don't own PRS-T2 or any other e-ink readers. Any volunteers?
|
I can test.
Well, it is not sure speculation. Indeed it is a guess, but on the other hand I don't know any example of eInk-series that have been turned to e.g. TFT without changing the name of the series :) Indeed there are other PRS- readers, check here, and all before PRS-T1 are not Android-based (out of the game). You have to decide, of course, if you want to add T1, T2, … one-by one or treat as one big family. What can go wrong on, let's say, Sony PRS-T3? If it works, you don't need to change anything, if it fails there would be a ticket (with possibility to use not-the-latest-version). Let's have a look at critical code, I am also interested. Where it can fail? In |
Imagine we would enable e-ink display for Kindle with a check like
Test, submit patch. |
On e-ink devices scrolling creates a lot of screen refreshing action and annoying flicker.
It would be nice to adapt the scrolling (via swipe gestures) and page turns (via volume up and down) for e-ink devices.
Don't know the details but it would reduce the page refreshes/ animations to an absolute minimum.
Then reading on your app becomes really fun.
Thanks!
The text was updated successfully, but these errors were encountered: