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);
Decompile APK Files: How to Get Source Code - RRutors Guide
How to Exit android app on back pressed?
How do I generate random numbers in Dart?
What is Intent? What is the difference between an implicit intent and an explicit intent?
How to check Android version?
What is Android Fragments?
How to get an image resource by it's name in android?
How do i load image from drawable folder in Jetpack Compose?
What is ANR in android?
How to get complete address from latitude and longitude?
Hide/Disable soft keyboard on Activity launch: Android
Set Activity to Fullscreen Mode in Android - RRutors
How To Set Text Color Programmatically Android TextView?
What is the difference between match_parent and fill_parent?
Fix Android Emulator Kill Error When Running Your App
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Symmetric vs Asymmetric Encryption in Android Server - RRutors
What is Application?
How to reduce APK package size?
How to Use Deprecated Handler() in Android - RRutors Guide
What is ANR? How to avoid and resolve it?
Permission denied for window type 2010 in Marshmallow device
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to Get bitmap from drawable: Android
FCM Not Receiving Notifications in Android - RRutors
How do I check in SQLite whether a table exists?
How can i comment inside xml file in android studio?
How to get screen size (width,height) in Android?
Fix Play Store Rejection Due to SMS Permission - RRutors
How to install/ uninstall apk by command line ADB
How to stop EditText focus at Activity startup in Android?
How to Generate signed apk with android studio
How to avoid multiple button click at same time in android?
What is "shared preferences" in Android ?
How to validate email address in Android with Kotlin?
Invoke-customs are only supported starting with android 0 --min-api 26
How to save activity State in Android?
Key Points to remember while develop the Android Application.
What happens next when the device switches between portrait and landscape?
What are the notifications available in android?