![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
PDF Support for Windows CE via PocketXpdf
Hello,
I've ported PocketXpdf to Windows CE5, which will enable PDF to be viewed natively in a lot of devices. To install, extract the CAB file from the attached ZIP and copy it on to your device and double-click to install. I initially tried to get Acrobat 2.0 working, but it didn't work on plain-vanilla CE5 -- which is what is in the device that I have, the JE200. So I found PocketXpdf, but it didn't work so I did the minimal amount of porting to get it working. Thanks go to rfog who created a emulator image which I could use for compiling the version I've uploaded here. I plan to upgrade the included XPDF code to the latest versions of xpdf and freetype once I get some free time (although most PDFs seemed to work fine as-is). To setup a development environment, use the instructions given in the above link (please use the image in the aygshell folder) to setup the CE5 build environment. Download the PocketXpdf 0.5 source code and then apply the patch in the ZIP file, open the solution in visual studio and then compile the "CAB project" to get the output cab. Last edited by ashkulz; 07-31-2010 at 03:40 AM. |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 696
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
|
ashkulz, I've compiled a new platform with support for aygshell. You can donwload it from here: http://cid-f1c8bb586bc9f3b9.skydrive...e.aspx/.Public
Enter intro aygshell folder and download it. PS: ashkulz, if you want we can maintain our conversation here. NOTE for other users: Those images are free but only for Open Source and/or Proprietary but free (no cost). Not allowed for creating internal or enterprise or pay software. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
rfog: I'll try the image tomorrow and post the results here.
I've uploaded a new version, where the bug in the JE200 next page caused a mini-crash and did not advance to the next page. Now PocketXpdf works beautifully! |
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
rfog: the new image you created doesn't have the emulation image (emulation\nk.bin). I think you'll need to regenerate it ...
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 696
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
|
![]() I always forget to manually copy to SDK folder... Uploanding now a new version. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Thanks, the new SDK works perfectly now for compilation/debugging.
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 31
Karma: 38
Join Date: Jan 2010
Location: Thailand
Device: HX4700 Je100 EkenM003 WPDN NookColor
|
Thank you so much, ashkulz.
It works great for me. Some of my Thai language pdf files which crashed on MS PDF reader, read OK on your PocketXpdf. One question, how do we call up the Menu while we're in the full screen mode? Thanks again. |
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Hmm, I've never used the full screen mode so I'll have to try it out and then see ... will let you know when I get the device back.
|
![]() |
![]() |
![]() |
#9 |
Radioactivist Mutant
![]() Posts: 36
Karma: 16
Join Date: May 2010
Location: Post-Apocalyptic Tennessee
Device: Witstech A81, Toshiba e310 Pocket PC
|
This emulator comes up for me as 320 240, not 800 x 400. The device emulator manager has the display locked too so I can't change it. Any ideas?
|
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Go to Tools -> Options -> Device Options in Visual Studio and go to the second option (Device Settings, I think) and click on Properties. You can specify the screen type and width there (choose 800x480, 16bit).
|
![]() |
![]() |
![]() |
#11 |
Radioactivist Mutant
![]() Posts: 36
Karma: 16
Join Date: May 2010
Location: Post-Apocalyptic Tennessee
Device: Witstech A81, Toshiba e310 Pocket PC
|
Thanks...a bit closer.
It was grayed out in Device Emulator Manager, but when I went to Tools | Options | Device Options as you suggested, I was able to change to 800 x 480. However, it now errors out when I attempt to deploy to the emulator saying that only 1MB is allocated to screen buffer..which appears to be something baked into the SDK, or is that something I'm missing in options to change myself? |
![]() |
![]() |
![]() |
#12 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 696
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
|
Quote:
You need to lower screen colors to have more screen resolution. Here you have some explanations about the emulator I made: http://geeks.ms/blogs/rfog/archive/2...0-devices.aspx |
|
![]() |
![]() |
![]() |
#13 |
Radioactivist Mutant
![]() Posts: 36
Karma: 16
Join Date: May 2010
Location: Post-Apocalyptic Tennessee
Device: Witstech A81, Toshiba e310 Pocket PC
|
Thanks so much, right there on the page I missed completely. 16 bit has to be the trick.
Which is sad...I'll have to wait for physical device I guess...I've been working on some 800 x 480 games but using nice 24/32 bit graphics ![]() It will serve nicely for lots of non-graphic things and for "backwards compat" testing for things I target the A81/CE 6.0 with. Thanks so much for the emulator. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bored of PDF support | IorPerry | Bookeen | 24 | 03-23-2009 03:29 AM |
Secure PDF support? | mizo9999 | Which one should I buy? | 4 | 11-13-2008 01:18 PM |
64bit Windows support? | corflame | Sony Reader | 5 | 09-09-2007 09:14 PM |
Microsoft will provide more years of support for Windows XP | Bob Russell | Lounge | 0 | 01-25-2007 05:06 PM |
Windows XP Service Pack 2 Support Tools | Colin Dunstan | Lounge | 2 | 08-25-2004 04:21 AM |