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);
Check List for Generate Signed APK Android
Permission denied for window type 2010 in Marshmallow device
Fix Android Emulator Kill Error When Running Your App
Hide/Disable soft keyboard on Activity launch: Android
Extract Date and Time from Long Type Variable - RRutors
What is ANR in android?
What is "shared preferences" in Android ?
How to convert DP to Pixel and Pixel to Dp?
How to get screen size (width,height) in Android?
What is the difference between match_parent and fill_parent?
Open PDF in Google Drive with Intent in Android - RRutors
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
What is Application?
How to copy database from assets folder in android using kotlin
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
What are the notifications available in android?
Explain Fragment Life Cycle
How to get complete address from latitude and longitude?
What is Android Fragments?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
What is Intent? What is the difference between an implicit intent and an explicit intent?
What is Context?
Set Activity to Fullscreen Mode in Android - RRutors
What are Android Versions available?
How to convert milli seconds to hours, minutes and seconds in Android?
What is Android?
How to validate email address in Android with Kotlin?
FCM Not Receiving Notifications in Android - RRutors
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
How to Get bitmap from drawable: Android
How do I generate random numbers in Dart?
What happens next when the device switches between portrait and landscape?
How do i load image from drawable folder in Jetpack Compose?
How to avoid multiple button click at same time in android?
Decompile APK Files: How to Get Source Code - RRutors Guide
How to check Android version?
How to install/ uninstall apk by command line ADB
What is ANR? How to avoid and resolve it?
How To Set Text Color Programmatically Android TextView?