Video Demo:
I am using PdfDocument to create the pdf file in android programmatically. The PdfDocument is only work on 21 or above api level. But if you want to show the pdf file in your activity then you have to add the following dependency in your gradle file.:
compile 'com.github.barteksc:android-pdf-viewer:2.0.3'
activity_main.xml:
<?xml...
Tuesday, June 27, 2017
Saturday, June 10, 2017
Video Demo:
In this demo you can hide the application icon and no one can see that homescreen or in all application screen. If you want to you launch your application then you can dial 1234567890 and its launch the application. Download source code from here
AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest...
Thursday, June 1, 2017
Video Demo:
Now we can use PdfDocument to generate the pdf file. But PdfDocument only works in 21 or above api level. In this tutorial I have created the pdf file with image and text. Download source code from here.
AndroidManifest.xml:
package="com.deepshikha.generatepdf">
...