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);
How to copy database from assets folder in android using kotlin
Open PDF in Google Drive with Intent in Android - RRutors
How to convert DP to Pixel and Pixel to Dp?
Check List for Generate Signed APK Android
Android Studio project R can't find
What is Context?
ERR_ACCESS_DENIED in Android Webview with sdk 30
What are Android Versions available?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
What is the Different Between val and var in Kotlin?
What is Android Fragments?
How to start a new activity on button click
How To Set Text Color Programmatically Android TextView?
FCM Not Receiving Notifications in Android - RRutors
What happens next when the device switches between portrait and landscape?
How to check Android version?
How to save activity State in Android?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
How to convert milli seconds to hours, minutes and seconds in Android?
Add Jar/Library Files as Dependency in Android Studio
What are the notifications available in android?
Extract Date and Time from Long Type Variable - RRutors
Set Activity to Fullscreen Mode in Android - RRutors
Permission denied for window type 2010 in Marshmallow device
Fix Play Store Rejection Due to SMS Permission - RRutors
How to Generate signed apk with android studio
What is NetworkOnMainThread Exception?
Invoke-customs are only supported starting with android 0 --min-api 26
What is Application?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
How to Get bitmap from drawable: Android
How to find Android Device UDID or unique ID?
How to Exit android app on back pressed?
What is "shared preferences" in Android ?
Decompile APK Files: How to Get Source Code - RRutors Guide
How to reduce APK package size?
How to get complete address from latitude and longitude?
How to get an image resource by it's name in android?
How do I check in SQLite whether a table exists?
Explain Fragment Life Cycle