icon

Android PDF Viewer

Current Release: beta
Download from
project page
The current progress can be seen in the
WIKI
For a first profiling analysis using Traceview look
here

 Requirement: Android 1.5 (Cupcake)

Readme:

About:

Andorid PDF Viewer is a viewer for PDF-Files which runs on ANDROID mobiles.

The implementation is a port of the pdf-renderer which is published by SUN under the lgpl: https://pdf-renderer.dev.java.net/.

The first version will be very slow, so do not hurry...

The application was tested with a T-Mobile G1

[top]

andpdf_fileselectdialog

How to install:

The apk file can be installed on your android phone using package installer. There are a lot of different ways how to do this, I do it the following way:
 
1.) Install the "Apps Installer" from the market.
 
2.) Allow unknown-sources (non-market) in the application settings.
 
3.) Copy the AndroidPdfViewer.apk file into your sdcard (e.g. to the /sdcard/download folder)
 
4.) Start "Apps Installer"
4.a) scroll to the entry "AndroidPdfViewer" and follow the dialog

[top]

Documentation:

Quick Guide:

  1. Start the Application
  2. Enter a path to a (very small) PDF file (like example.pdf)
  3. Click “Show”
  4. The first page appears after SOME time
  5. Move the canvas by dragging with your finger

This is a very first start and I am happy to see anything!

How is it done?

The Project is a port of the pdf-renderer from SUN which uses AWT.
Too bad, AWT is not supported by Android, so the first thing to do was mapping AWT-Objects to Android-Graphic-Objects:

AWT

 

Android

Graphics2D

 

Canvas

AffineTransformation

 

Matrix

GeneralPath

 

Path

Rectangle2D

 

RectF

Point2D

 

PointF

Font

 

TypeFace

Color

 

int / Color

BufferedImage

 

Bitmap

Image

 

- TODO -

ColorSpace

 

- TODO -

BasicStroke

 

- TODO -

ImageObserver

 

- TODO -

[top]

Bugs, Feedback:

Any help is welcome, use the Help Forum or just drop a email to me:

 Ferenc Hechler

 ferenc_hechler@users.sourceforge.net

 

 

[top]

 

 

andpdf_mix_examples