Thread: Development Exampe code for using edge eInk
View Single Post
Old 10-15-2011, 07:14 PM   #1
vldmr
Bigendian confidologist
vldmr has a complete set of Star Wars action figures.vldmr has a complete set of Star Wars action figures.vldmr has a complete set of Star Wars action figures.vldmr has a complete set of Star Wars action figures.vldmr has a complete set of Star Wars action figures.
 
vldmr's Avatar
 
Posts: 60
Karma: 494
Join Date: Oct 2011
Device: edge & edgejr
Exampe code for using edge eInk

Here is an example application that draws directly into eInk frame buffer.

Both the source and built application are attached.

It is basically port of this "Send to Framebuffer" application to EE

before using the installed application issue the following command to allow access to eInk:
adb shell su -c chmod 666 /dev/graphics/fb2

Once installed, long press in file browser on image file, select "Send" from menu, select "Send to eDGe eInk", the image will be displayed there.

The source code shall be sufficient to get anyone started. In particular EdgeFB class can be directly reused. Or it can just serve as an example.

Anyone want to take a shot on adding eInk support to fbreader ?
Attached Files
File Type: zip SendToEdgeFB.zip (23.6 KB, 342 views)
File Type: zip SendToEdgeFB-release.apk.zip (21.3 KB, 312 views)

Last edited by vldmr; 10-15-2011 at 07:16 PM.
vldmr is offline   Reply With Quote