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 do i load image from drawable folder in Jetpack Compose?
Fix Play Store Rejection Due to SMS Permission - RRutors
Hide/Disable soft keyboard on Activity launch: Android
How to find Android Device UDID or unique ID?
How to check Android version?
What happens next when the device switches between portrait and landscape?
How to Exit android app on back pressed?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
How to install/ uninstall apk by command line ADB
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
How to start a new activity on button click
Set Activity to Fullscreen Mode in Android - RRutors
What is Android Fragments?
How to convert milli seconds to hours, minutes and seconds in Android?
How to Generate signed apk with android studio
What is ANR in android?
What is Application?
Open PDF in Google Drive with Intent in Android - RRutors
How to get a contact image using a phone number in android?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
Fix Android Emulator Kill Error When Running Your App
What is Context?
What is NetworkOnMainThread Exception?
How to get complete address from latitude and longitude?
Android Studio project R can't find
How to validate email address in Android with Kotlin?
What are Android Versions available?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
How to save activity State in Android?
What is Intent? What is the difference between an implicit intent and an explicit intent?
ERR_ACCESS_DENIED in Android Webview with sdk 30
Key Points to remember while develop the Android Application.
Symmetric vs Asymmetric Encryption in Android Server - RRutors
FCM Not Receiving Notifications in Android - RRutors
How to reduce APK package size?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
How to get screen size (width,height) in Android?
Check List for Generate Signed APK Android
Explain Fragment Life Cycle
Decompile APK Files: How to Get Source Code - RRutors Guide