Thread: Development lcd2eink
View Single Post
Old 08-02-2011, 12:56 AM   #47
javese
Zealot
javese will become famous soon enoughjavese will become famous soon enoughjavese will become famous soon enoughjavese will become famous soon enoughjavese will become famous soon enoughjavese will become famous soon enough
 
Posts: 134
Karma: 589
Join Date: Jun 2011
Device: Entourage Pocket Edge(Black)
Quote:
Originally Posted by vicinc View Post
Another idea. Can the Screen Dump message be disable, as sometimes is captured on the eink screen. this app is almost usable now with rotate screen in e-ink mode and autofresh.
A second note. Would be anyway that the wacom pen position on the eink mode read and transferred in lcd clicks? that will enable some kind of eink only operation. ideal in sun light. Javese you rock. Thanks for releasing the source as well. you are a real gentleman.
Thank you vicinc.It's very kind of you to say so,and I do appreciate your valuable suggestions.Android doesn't allow background service to listen to key events,but long press search will cause a broadcast.I added intent filter for long press search in lcd2eink 0.1.2,but unfortunately we don't have a search key in PE.I modified the keylayout file of PE to remap volume up as search,and it works.So with the cost of losing increase volume with key,we will be able to long press the volume up key to trigger a screen dump.
I noticed that some friends would want to remap an eink key,but sorry eink keys are not seeable in android side,and I got no luck in trying that.If anyone knows how to do it,please kindly let me know.

lcd2eink 0.1.2 is posted here both as binary and source code.I also post modified keylayout files which work on my PE ermine 0.9.I don't think the keylayout files will work on EE too.If you want to apply the key remapping on EE,you can either modify them by yourself or send them to me.Please be noticed that it's risky to change those files.

how to use lcd2eink 0.1.2:
1.install the apk;
2.use it as 0.1.1;
---optional--
3.remap volume up key to search key;
4.long press voume up key will trigger a screen dump;

how to remapy voume up key to search:
1.edit /system/usr/keylayout/gpio-keys.kl,change "VOLUME_UP" to "SEARCH";
2.set file permission of /system/usr/keylayout/gpio-keys.kl as rw-r--r--;
3.edit /system/usr/keylayout/qwerty.kl,change "VOLUME_UP" to "SEARCH";
4.set file permission of /system/usr/keylayout/qwerty.kl as rw-r--r--;
if you are using PE ermine,you can also use attached .kl files to replace the ones on your device.in this way you can skip step 1 and 3.

enjoy.
Attached Files
File Type: zip LCD2Eink_0.1.2.zip (25.6 KB, 302 views)
File Type: zip LCD2Eink_0.1.2_src.zip (27.2 KB, 295 views)
File Type: zip keylayout.zip (898 Bytes, 296 views)

Last edited by javese; 08-02-2011 at 12:58 AM.
javese is offline   Reply With Quote