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 start a new activity on button click
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to avoid multiple button click at same time in android?
Permission denied for window type 2010 in Marshmallow device
How do I check in SQLite whether a table exists?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
How to install/ uninstall apk by command line ADB
Fix Play Store Rejection Due to SMS Permission - RRutors
Decompile APK Files: How to Get Source Code - RRutors Guide
What is Application?
Fix Android Emulator Kill Error When Running Your App
Invoke-customs are only supported starting with android 0 --min-api 26
How to get an image resource by it's name in android?
Open PDF in Google Drive with Intent in Android - RRutors
How to stop EditText focus at Activity startup in Android?
What is ANR in android?
How to Exit android app on back pressed?
What happens next when the device switches between portrait and landscape?
How to check Android version?
How to convert milli seconds to hours, minutes and seconds in Android?
Hide/Disable soft keyboard on Activity launch: Android
Symmetric vs Asymmetric Encryption in Android Server - RRutors
Android Studio project R can't find
ERR_ACCESS_DENIED in Android Webview with sdk 30
What is ANR? How to avoid and resolve it?
How to get complete address from latitude and longitude?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
How to validate email address in Android with Kotlin?
How to copy database from assets folder in android using kotlin
FCM Not Receiving Notifications in Android - RRutors
Fix Duplicate Files in APK Build.gradle Issue - RRutors
Set Activity to Fullscreen Mode in Android - RRutors
How do I generate random numbers in Dart?
Check List for Generate Signed APK Android
Extract Date and Time from Long Type Variable - RRutors
What is Android?
Key Points to remember while develop the Android Application.
What is Android Fragments?
What is the difference between match_parent and fill_parent?