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 convert DP to Pixel and Pixel to Dp?
How to Exit android app on back pressed?
How to stop EditText focus at Activity startup in Android?
What is ANR in android?
How to save activity State in Android?
How to Use Deprecated Handler() in Android - RRutors Guide
Hide/Disable soft keyboard on Activity launch: Android
How do i load image from drawable folder in Jetpack Compose?
What is ANR? How to avoid and resolve it?
How to copy database from assets folder in android using kotlin
Android Studio project R can't find
Add Jar/Library Files as Dependency in Android Studio
How to Get bitmap from drawable: Android
How do I generate random numbers in Dart?
How to convert milli seconds to hours, minutes and seconds in Android?
How to check Android version?
How to get complete address from latitude and longitude?
What happens next when the device switches between portrait and landscape?
How to avoid multiple button click at same time in android?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
Invoke-customs are only supported starting with android 0 --min-api 26
How do I check in SQLite whether a table exists?
What is NetworkOnMainThread Exception?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How can i comment inside xml file in android studio?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
FCM Not Receiving Notifications in Android - RRutors
How to Generate signed apk with android studio
What are the notifications available in android?
Fix Android Emulator Kill Error When Running Your App
What are Android Versions available?
Extract Date and Time from Long Type Variable - RRutors
What is the difference between match_parent and fill_parent?
Key Points to remember while develop the Android Application.
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to find Android Device UDID or unique ID?
How to start a new activity on button click
What is "shared preferences" in Android ?
How to validate email address in Android with Kotlin?
Fix Play Store Rejection Due to SMS Permission - RRutors