PART - 4
In this video, I will show you how to get a PDF file from other apps. So, you can navigate the file from Android File or Gallery, tap on SHARE or OPEN WITH and select the app from Android suggestions. Then, the app will execute, get the file path, and open the selected PDF file.
Download the project from GitHub (only for subscribers);
https://github.com/Morteza-Habib/PDF_Veiwer_App
💾 If you require the project files, please subscribe and request them in the comments section. Make sure to include your GitHub username or email for access.
Download the released version of the app:
https://play.google.com/store/apps/details?id=com.morteza.printpdfproject
Enjoy the video
00:00 Intro
01:38 Create intent-filter for OPEN WITH
04:09 Getting the file path in MainActivity OPEN WITH
06:00 Testing intent-filter for OPEN WITH
06:27 Create intent-filter for SHARING
08:04 Getting the file path in MainActivity SHARING
09:13 Final Test
10:48 bla bla
Download
0 formats
No download links available.
PDF Viewer, Part-4, Getting PDF file from other apps, intent-filter Android Studio Java 2025 | NatokHD