An example using iText PDF library for Java.
How to programmatically write and read file in your Android external storage Hybrid App? (Updated) An example in Angular application
How to programmatically capture and encode a variety of common audio and video formats in Android html5 Hybrid App?