Can I use PDFNet from C++ on Android iOS WinRT?

57 views
Skip to first unread message

Support

unread,
Oct 24, 2013, 2:10:11 PM10/24/13
to pdfne...@googlegroups.com
Q:
 
Can I use PDFNet from C++ on Android iOS WinRT?
Can you point me to some of your C++ examples for Android?
 
---------
A:
 

You can access PDFNet with the same C/C++ interface from all platforms (Android, iOS, WinRT, etc). The SDK comes with the C/C++ Headers (it is inside the Headers folder in the zip file) and you would be looking at C/C++ samples (http://www.pdftron.com/pdfnet/samplecode.html) rather than Java. You can also find most of documentation (for different platforms) online: http://www.pdftron.com/pdfnet/documentation.html.

 

If you are looking for a PDF viewer solution we recommend using the PDFViewCtrl (http://www.pdftron.com/pdfnet/mobile/Javadoc/pdftron/PDF/PDFViewCtrl.html), which is a control created specifically for this objective

Support

unread,
Oct 31, 2013, 7:01:13 PM10/31/13
to pdfne...@googlegroups.com
FYI:
 
To show how to use PDFNet from C/C++ on Android we created a small “Hello World” Eclipse project:
   http://pdftron.com/pdfnet/samplecode/data/helloworld_pdfnet_cpp_jni_android.zip
 
Btw to keep file size down libPDFNet-v7a.so is not included in the zip (it should be placed under ‘libs\armeabi-v7a’).
 
The sample is not doing much...  it just initializes PDFNet and creates a PDFDoc. The main objective it to show how to interface with Android NDK & PDFNet in an Eclipse project.
Reply all
Reply to author
Forward
0 new messages