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 get a contact image using a phone number in android?
What are Android Versions available?
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to reduce APK package size?
How to stop EditText focus at Activity startup in Android?
What is the Different Between val and var in Kotlin?
What is the difference between match_parent and fill_parent?
How to Generate signed apk with android studio
Explain Fragment Life Cycle
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Invoke-customs are only supported starting with android 0 --min-api 26
How can i comment inside xml file in android studio?
Hide/Disable soft keyboard on Activity launch: Android
Open PDF in Google Drive with Intent in Android - RRutors
What happens next when the device switches between portrait and landscape?
Extract Date and Time from Long Type Variable - RRutors
How do I generate random numbers in Dart?
How to check Android version?
How to install/ uninstall apk by command line ADB
What is "shared preferences" in Android ?
What is Android Fragments?
What is ANR in android?
How to avoid multiple button click at same time in android?
How to Get bitmap from drawable: Android
Fix Android Emulator Kill Error When Running Your App
How to get an image resource by it's name in android?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
Add Jar/Library Files as Dependency in Android Studio
What is Application?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
Fix Play Store Rejection Due to SMS Permission - RRutors
How to Exit android app on back pressed?
How to get complete address from latitude and longitude?
What is Intent? What is the difference between an implicit intent and an explicit intent?
Permission denied for window type 2010 in Marshmallow device
How to start a new activity on button click
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
What is Android?
How to Use Deprecated Handler() in Android - RRutors Guide
How to copy database from assets folder in android using kotlin