I have created iPhone app where I am displaying PDF and playing audio and video files using fastpdfkit.
Now I want to make same app for Android also. Is there any kit for android where I can have same functionalities?
iText is a dedicated java library to create and manipulate PDF documents. It has an Android version named iTextG. iText tutorials are more available than for iTextG. So I suggest you to use iText tutorials.
iTextG is only for pdf manipulation. You can rely on Android multimedia API for audio and video support.
Related
I am working on an application where I need to show PDF files from local storage. Currently I'm using this com.github.barteksc:android-pdf-viewer:2.8.2 library to read PDF files.
After build a release apk I got surprised that - my app size increased 22.6MB after using this library.
I have also searched in Android official docs for a better solution. I got PdfRenderer class. Unfortunately, this class added from API level 21. But my app minSDKVersion is 14.
How can I reduce apk size with pdf reader functionality? Or Is there any light-weight pdf library to read pdf files in Android?
Alternative for this SDK is opening the PDF in a webview - possible solution.
I need to read document and image using phonegap.
But i can read image only using window.open(url); but it's not working document.
And i can read document only using window.open(https://docs.google.com/viewer?url="");
but i need to read image and document using same url or api in phonegap.
if any possible for do this?
thanks in advance.
Use this html5lightbox will work in both ios and android. It supports images, Flash SWF files, YouTube, Vimeo and local mp4, m4v, flv, ogg, ogv and webm videos, works on Windows, Linux, Mac, iPhone, iPad, Android, Windows Phone and all modern web browsers
http://html5box.com/html5lightbox/
Phonegap cannot open document files by default. you have to install plugins to add these feature to it. for example you can use FileOpener plugin to open some common file extensions such as PDF, WORD, EXCEL, JPG, GIF, POWERPOINT, VIDEOS, MUSIC etc.
https://github.com/frankk994/phonegapFileOpener
https://github.com/pwlin/cordova-plugin-file-opener
I'm creating an Android app that will handle collections of image files.
I'm looking for an archive format (and library) similar to .zip or .tar that meets these requirements:
Open source
Allows extraction of a single file without extracting
all files
Capable of containing image and text (probably json) files
I'm looking for something that is well supported on Android. Something that works for Android and IOS would be a plus.
What about Gzip? Open source and it has native support on Android.
For iPhone, you could use the ZipArchive library, though it may also have native support. (Search the SDK, I don't know how!)
I need to show the pdf and the word files from the sdcard into the application.
I am looking out for libraries that can be integrated for this.
There are a few which I surfed:
1) Vudroid
2) jBlough
3) apdf and so on...
4) olive (for word)
I need a library which can show both these formats or either of the two.
Secondly, which one would be a better to go with. I was unable to find the libraries apart from the jBlough and olive. Can somebody aid me with few links for these libraries?
Note: I am not looking for implicit intent.
You can use Document Viewer and Converter for Android. It is MIT licensed Android application that can view Microsoft Word, RTF and OpenDocument Text files and convert them to PDF, DOCX, DOC, ODT, RTF and HTML.
The application uses Aspose.Words for Android to process, render and convert the documents and uses some basic Android platform's features to lazy-load and cache page previews.
Disclosure: I am a developer at Aspose.
Check out this library:
http://www.csr.com/products/directoffice-mobile-sdk
It will convert Office and PDF to PNG or PDF. The PNG files are easy to display in your app.
I need to check if a Richmedia content (video embedded in a pdf file) is available in a pdf file or not via mupdf library for an android application.
If it is then I need to retrieve the stream content via pdf parsing and convert in to a byte array and run the video found in the pdf.
Is this possible?
MuPDF does not support embedded video. You can still use the library to examine the PDF object structure and extract data streams from PDF files. Look at the "pdfshow" and "pdfextract" tools for inspiration.
You could try using iText for android, although it seems to be a constrained version. There is a post on how to extract media objects from pdf files with iText here.