Sorry for being silent for last two weeks. I was on vacation. But you guys are great at solving problems yourself!! I've just published source codes here:
https://www.mobileread.com/forums/sho....php?p=2619066
Let's do something amazing with our e-book readers!!!