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);
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
How to get screen size (width,height) in Android?
How do I generate random numbers in Dart?
How to find Android Device UDID or unique ID?
How to get an image resource by it's name in android?
Explain Fragment Life Cycle
How to check Android version?
How do I check in SQLite whether a table exists?
What is ANR? How to avoid and resolve it?
What is Android?
Key Points to remember while develop the Android Application.
Hide/Disable soft keyboard on Activity launch: Android
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Symmetric vs Asymmetric Encryption in Android Server - RRutors
What is the difference between match_parent and fill_parent?
What is ANR in android?
Add Jar/Library Files as Dependency in Android Studio
How to get complete address from latitude and longitude?
What are Android Versions available?
How to install/ uninstall apk by command line ADB
FCM Not Receiving Notifications in Android - RRutors
Set Activity to Fullscreen Mode in Android - RRutors
How to copy database from assets folder in android using kotlin
How to Use Deprecated Handler() in Android - RRutors Guide
How to stop EditText focus at Activity startup in Android?
Open PDF in Google Drive with Intent in Android - RRutors
Fix Play Store Rejection Due to SMS Permission - RRutors
How To Set Text Color Programmatically Android TextView?
Permission denied for window type 2010 in Marshmallow device
How to convert DP to Pixel and Pixel to Dp?
Check List for Generate Signed APK Android
How to save activity State in Android?
How to Get bitmap from drawable: Android
Fix Android Emulator Kill Error When Running Your App
What is the Different Between val and var in Kotlin?
How to get a contact image using a phone number in android?
What are the notifications available in android?
How to validate email address in Android with Kotlin?
Android Studio project R can't find
What is Application?