File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PDF Reader or Viewer in Java ME?

 
Richard Sargent
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all.

How realistic might it be to write a PDF viewer in ME? I'm a little disgruntled that my phone (Blackberry) does not have a free app to view PDF files, and thought I'd look into doing something myself.

I admit I'm new to ME, and also that this endeavour might not be a sensible one, hence the question. Am I barking up an entire forest of wrong trees, or is there something in ME that is worth looking at?

Thanks in advance,
Rich
 
Paul Clapham
Sheriff
Pie
Posts: 20196
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the PDF specifications are several hundred pages in length. So that suggests the project might have certain complexities.

However I wouldn't assume that it isn't on your Blackberry because it's too hard to do. My Blackberry comes with an e-mail client which tells me when I received an e-mail but doesn't tell me when it was sent, just for example. So it's certainly possible that RIM has just been spending more on marketing than they have been spending on programming their device.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a decent library for displaying PDFs called PDF-Renderer on swinglabs.org. It's written for JSE, though - I'm not sure how much stuff it uses that's not available in JME. The jar file clocks in at 2 MB, but I'm sure that could be trimmed down at least somewhat, maybe by leaving out print functionality and other unnecessary features.
 
Richard Sargent
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the replies. I'm still rather keen on the idea, and no one has said I must be a little bit on the mad side for even contemplating it, which is encouraging. Looks like there's some reading to be done.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17633
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PDF's on small devices are a real pain. A reader came with my Android phone, but, like I just said over on the Android forum, it's like trying to read a document through a keyhole.

A PDF viewer needs a PostScript renderer and a controlling GUI. It might be a bit of trouble to pack that much complexity into some of the older devices where memory is at a premium.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic