I'm currently investigating whether this library is suitable for one of our applications.
Basically, we need to:
1) allow users to view and compile PDF forms
2) determine which fields have been compiled and which have not
3) programmatically extract values for compiled fields and store them in a data base
4) export compiled PDF
So far I'm playing with the library to achieve 1, but I'm getting mixed results.
I have been able to fill in text boxes, combo boxes and check boxes implementing PDFAnnotListener interface.
What about other field types (radio buttons, image fields, ...)? I don't seem to see support for them in PDFAnnotListener interface... Is PDFAnnotListener the only way to go, or other approaches are feasible?
But you need to use the classes under com.radaee.view instead of com.radaee.pdfex (deprecated)
You need to imoplement the listener: PDFReaderListener
in OnAnnotClicked(PDFVPage, Annotation) you can call: m_reader.PDFPerformAnnot
when you check PDFReader.PDFPerformAnnot you will find that it handles the different annotations type (including checkbox, radio buttons)
For editbox and combobox...they are handled in PDFReader.OnPDFSingleTapped(float, float)
I successfully changed my implementation to use PDFReaderListener instead of deprecated code.
I also managed to edit several form field types.
However, I'm still not able to edit radio buttons.
In every test PDF I tried, when calling GetCheckStatus() on a radio button I get value -1 (invalid control) instead of the expected values 2 or 3. As you can expect, calling PDFPerformAnnot() or SetRadio() on this annotations produce no effect.
The radio button requires the premium license...
If you are using the demo project it should work as it's already activated with a premium license...
if you are using your project and you don't have the license yet, you need to give your project "com.radaee.reader" as package name. (Eclipse:Right click you project -> Android Tools -> Rename Application package)