We can open PDF in google drive by below code Uri pdfUri = Uri.parse("pass you file path");
Intent shareIntent = ShareCompat.IntentBuilder.from(this)
.setText("Share PDF doc")
.setType("application/pdf")
.setStream(pdfUri )
.getIntent()
.setPackage("com.google.android.apps.docs");
startActivity(shareIntent);
What is Application?
How do I check in SQLite whether a table exists?
Fix Android Emulator Kill Error When Running Your App
How to get complete address from latitude and longitude?
How do I generate random numbers in Dart?
How to Generate signed apk with android studio
How To Set Text Color Programmatically Android TextView?
What are Android Versions available?
How do i load image from drawable folder in Jetpack Compose?
What is Context?
How to Get bitmap from drawable: Android
What is Intent? What is the difference between an implicit intent and an explicit intent?
How to reduce APK package size?
Check List for Generate Signed APK Android
How to check Android version?
Set Activity to Fullscreen Mode in Android - RRutors
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
Add Jar/Library Files as Dependency in Android Studio
How to validate email address in Android with Kotlin?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How to convert DP to Pixel and Pixel to Dp?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
What is NetworkOnMainThread Exception?
What happens next when the device switches between portrait and landscape?
How to avoid multiple button click at same time in android?
Extract Date and Time from Long Type Variable - RRutors
How can i comment inside xml file in android studio?
Decompile APK Files: How to Get Source Code - RRutors Guide
Hide/Disable soft keyboard on Activity launch: Android
Invoke-customs are only supported starting with android 0 --min-api 26
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
Android Studio project R can't find
What is Android?
How to Use Deprecated Handler() in Android - RRutors Guide
How to copy database from assets folder in android using kotlin
What is Android Fragments?
What is ANR? How to avoid and resolve it?
Open PDF in Google Drive with Intent in Android - RRutors
How to get screen size (width,height) in Android?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th