Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-29-2009, 11:22 AM   #1
istudy
Member
istudy began at the beginning.
 
Posts: 10
Karma: 14
Join Date: Dec 2008
Location: China
Device: irex iliad
Wink Touch screen version ipdf

Dear all,
After several days study, I do a little modify for the community IPDF source codehttps://www.mobileread.com/forums/showthread.php?t=14915, and make a touch screen version IPDF, the function currently implemented as separate the screen to 3*3 square, every area will do exactly one function,I use top 6 square to do the following:
prev page(simulate short press left flipbar)
enter(exit) full screen mode(simulate long press prev key/short press up key)
next page(simulate short right flipbar)
prev 5 page(simulate long left flipbar)
exit IPDF(simulate short press up key)
next 5 page(simulate long right flipbar)
the bottom 3 area I don't used now, when I have time I want implement forward/backward and maybe shutdown function.
The idea is fully use the touch screen's ability, sometimes my flipbar won't do what I want it to do exactly. Now,when I read pdf I can use full screen function and change page by touch screen, it's very nice.
Known problem:
the exit time will longer than normal way(short press up key), don't know why
some icons does not reflect the click action until you refresh the screen.
I don't know whether this kind of work can be implement on fbreader too? I think it's more difficult to be done.
Last:
It take me long time to correct compile the IPDF on Adam.B's virtual machine, because the LD_LIBRARY_PATH and PKG_CONFIG_PATH environment variable, I set it on scratch user .bash_profile as follow:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export LD_LIBRARY_PATH=/usr/local/arm/oe/arm-linux/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
export PATH=$PATH:/usr/local/arm/oe/arm-linux/bin
export PKG_CONFIG_PATH=/usr/local/arm/oe/arm-linux/lib/pkgconfig
but I meet problem when use ./configure, then I change back the LD_LIBRARY_PATH to
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
and when do 'make' change it again
export LD_LIBRARY_PATH=/usr/local/arm/oe/arm-linux/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
then everything is OK.
Attach is the binary with striped, and the modified PDFPortraitView.cpp code.
install is as easy as put the unrar ipdf to /usr/bin/ directory. or you unrar the fulltouch to sd/cf card, then click it on contentlist, it should install it for you, before do it I recomment you first use https://www.mobileread.com/forums/showthread.php?t=22152
to backup the original ipdf, this installer will have more choice to select.
thanks everybody.

Mike

Last edited by istudy; 02-28-2009 at 09:40 AM.
istudy is offline   Reply With Quote
Old 02-21-2009, 11:05 AM   #2
good153
Enthusiast
good153 began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Oct 2007
Device: irex iliad
Thank you, istudy Mike. I just try it. It is really nice. You have done a good job. Is it possible that it could work in the mode of landscape? Thank you very much.
good153 is offline   Reply With Quote
Advert
Old 02-25-2009, 03:12 PM   #3
DesiLinguist
Computational Linguist
DesiLinguist doesn't litterDesiLinguist doesn't litter
 
Posts: 110
Karma: 100
Join Date: Feb 2009
Device: iLiad BE, iPhone, Kindle DX
iStudy, I would really appreciate it if you would tell me how you were able to compile ipdf on the disk image. I ran into the problem that the stuff on the disk image was outdated. Did you re-install the latest versions of all libraries and headers from the iRex website? If so, how exactly did you do it.

Thanks!
DesiLinguist is offline   Reply With Quote
Old 02-28-2009, 09:39 AM   #4
istudy
Member
istudy began at the beginning.
 
Posts: 10
Karma: 14
Join Date: Dec 2008
Location: China
Device: irex iliad
updates

Hi good153,
I change the source and compile it for what you want, pls test it, if it's working, pls report here, so other people can give it a try.
original attach been replaced with new one.
DesiLinguist:
pls reference to see what I compile ipdf&fbreader:
https://www.mobileread.com/forums/sho...688#post363688

mike
Attached Files
File Type: rar ipdf_installers_v2.12.rar (996.2 KB, 348 views)
File Type: rar ipdf modified source.rar (16.6 KB, 330 views)
File Type: rar ipdf.rar (31.3 KB, 332 views)
istudy is offline   Reply With Quote
Old 03-01-2009, 09:09 AM   #5
good153
Enthusiast
good153 began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Oct 2007
Device: irex iliad
Dear istudy, thanks a lot. I have just used the modified nice work of yours. It works like a charm. Now I can really enjoy an ebook in the mode of portrayal or landscape while eating, drinking, and so forth. Thank you very much.
good153 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-650 Touch Screen problems (again) benjaminsolah Sony Reader 9 10-15-2010 02:22 AM
Looking for touch screen e-reader bobcdy Which one should I buy? 2 08-24-2010 10:34 AM
It's not a real touch-screen Charbax Sony Reader 37 10-27-2008 01:55 PM
iPDF: What's difference of the ALL-In-ONE version and the package for eight versions? genome2k iRex 0 10-07-2008 03:43 PM
Touch Screen clewley Lounge 10 03-18-2008 02:37 AM


All times are GMT -4. The time now is 06:31 PM.


MobileRead.com is a privately owned, operated and funded community.