pdf ocx or similar

Smee

Well-Known Member
Licensed User
Longtime User
Hi,
Thinking about delving into android. Is there an ocx or similar that can be used to view/interact with pdf files within an aqndroid app?

thanks for any replies

joe
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
If the user device contains a PDF viewer (like quickoffice or Acrobat Reader) you can show the file by sending an Intent:
B4X:
    Dim i As Intent 'Requires a reference to the Phone library
    i.Initialize(i.ACTION_VIEW, "file:///sdcard/file.pdf")
    i.SetType("application/pdf")
    i.WrapAsIntentChooser("Choose PDF Viewer")
    StartActivity(i)
 
Upvote 0

Smee

Well-Known Member
Licensed User
Longtime User
Thanks Erel,

what i need to do is also know which page the user is on each time the user changes a page or a document. Is this possible?

thanks again
 
Upvote 0

Smee

Well-Known Member
Licensed User
Longtime User
That is not possible.

Hi Erel,

Just received this reply today from Qoppa Software

"Thanks for your interest in Qoppa Software and our upcoming Android PDF products.

The PDF viewer will have navigation built into it, i.e. it will have next page / prev page buttons as wells as being able to drag up and down the document and will also have zoom and size to fit functionality.

If you intend to integrate this into your application, we can make sure that you will be able to detect taps on the document from your application.

We are in the process of releasing a new beta version of the product, we expect to do so before the end of this week. I can send you an email once the new version is out so that you can try out the viewer on your side."

So fingers crossed this component may be integrated.
what do you think?
 
Upvote 0

Smee

Well-Known Member
Licensed User
Longtime User
Hi All

Received this from qoppa, Anyone interested in writing a wrapper?

Hi,

We have released a new Beta of our PDF Editor for Android, qPDF Notes. You can download the app from our website and install on your device for testing. This version has much improved PDF handling and performance and adds annotating and saving capability.

As part of the beta testing program, we ask that you send us feedback on the performance and reliability of the editor. As part of this feedback, please let us know the device that you are running on.

To download and install, you will first need to enable the installation on "non-Market" applications by going to Settings -> Applications and then choosing the Unknown Sources entry.

After you've changed this settings, you can download our PDF viewer app from:

http://www.qoppa.com/android/demo/qpdfnotes.apk


After downloading, you can tap on the file and when prompted, install the application. Once installed, you should see the application on your device. When the application launches, there is a toolbar at the bottom of the display that will allow you to open, navigate and add a few annotations to the documents. When done, you can save the documents on the device.

Please note that this is a Beta release, it has not been tuned for performance and it might have some issues with some PDF documents. We would appreciate any feedback about problems or suggestions to improve the product.

Known Issues:

- There is no support yet for ICC color spaces. When content is found on a document that uses ICC colors, an error message will be displayed on the pages that do so.



- Memory issues: the viewer may run out of memory for some documents, we are working to improve this within Android constraints.



- Performance: We are still working to improve performance on the viewer, this is an ongoing task and will continue to improve on every release.



- There is no support yet for embedded JPEG 2000 images.
 
Upvote 0

qoppasoftware

New Member
Hi,

We have produced a PDF toolkit for android. This toolkit can be included in your application for rendering and processing PDF documents. More information can be found here on our website. This forum's permissions prevent me from posting the full url, but the page is at: qoppa.com/android/pdfsdk/index.html
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
I checked this but it looks like a non-starter owing to the cost.
Licensing / Pricing: We license qPDF Toolkit using a subscription license, the cost of the license to integrate the toolkit into one app is $6000 for the first year and $3000 for subsequent years. The license includes free upgrades as well as support.
 
Upvote 0
Top