Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Alternative Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2010, 04:24 AM   #1
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
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.
Attached Files
File Type: zip PocketXpdf-0.5.0_wce5_v2.zip (1.15 MB, 1306 views)

Last edited by ashkulz; 07-31-2010 at 03:40 AM.
ashkulz is offline   Reply With Quote
Old 05-20-2010, 12:26 PM   #2
rfog
Guru
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
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.
rfog is offline   Reply With Quote
Advert
Old 05-20-2010, 01:37 PM   #3
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
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!
ashkulz is offline   Reply With Quote
Old 05-21-2010, 02:13 AM   #4
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
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 ...
ashkulz is offline   Reply With Quote
Old 05-21-2010, 03:51 AM   #5
rfog
Guru
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
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.
rfog is offline   Reply With Quote
Advert
Old 05-21-2010, 09:12 AM   #6
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
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.
ashkulz is offline   Reply With Quote
Old 05-23-2010, 01:48 AM   #7
bambi
Enthusiast
bambi began at the beginning.
 
bambi's Avatar
 
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.
bambi is offline   Reply With Quote
Old 05-24-2010, 06:49 AM   #8
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
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.
ashkulz is offline   Reply With Quote
Old 06-05-2010, 11:14 AM   #9
FriendOfEntropy
Radioactivist Mutant
FriendOfEntropy began at the beginning.
 
FriendOfEntropy's Avatar
 
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?
FriendOfEntropy is offline   Reply With Quote
Old 06-06-2010, 02:09 AM   #10
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
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).
ashkulz is offline   Reply With Quote
Old 06-06-2010, 02:44 AM   #11
FriendOfEntropy
Radioactivist Mutant
FriendOfEntropy began at the beginning.
 
FriendOfEntropy's Avatar
 
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?
FriendOfEntropy is offline   Reply With Quote
Old 06-06-2010, 04:34 AM   #12
rfog
Guru
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
Posts: 696
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
Quote:
Originally Posted by FriendOfEntropy View Post
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?
That's a CE limitation for all CE 5.0 emulated devices. Microsoft, in his high wisdom, decided that. I think it can be changed in CE source code, but it is not tested/supported and I do not know how to do it.

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
rfog is offline   Reply With Quote
Old 06-06-2010, 09:34 AM   #13
FriendOfEntropy
Radioactivist Mutant
FriendOfEntropy began at the beginning.
 
FriendOfEntropy's Avatar
 
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.
FriendOfEntropy is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:21 AM.


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