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);
FCM Not Receiving Notifications in Android - RRutors
How to Get bitmap from drawable: Android
How to find Android Device UDID or unique ID?
What is ANR in android?
How to Exit android app on back pressed?
Open PDF in Google Drive with Intent in Android - RRutors
How to convert DP to Pixel and Pixel to Dp?
How to check Android version?
How to validate email address in Android with Kotlin?
Extract Date and Time from Long Type Variable - RRutors
What is Android?
What is "shared preferences" in Android ?
Set Activity to Fullscreen Mode in Android - RRutors
How to get an image resource by it's name in android?
How to Use Deprecated Handler() in Android - RRutors Guide
What is NetworkOnMainThread Exception?
Check List for Generate Signed APK Android
Invoke-customs are only supported starting with android 0 --min-api 26
What are the notifications available in android?
What are Android Versions available?
How to reduce APK package size?
How to convert milli seconds to hours, minutes and seconds in Android?
How to get a contact image using a phone number in android?
Key Points to remember while develop the Android Application.
Symmetric vs Asymmetric Encryption in Android Server - RRutors
Android Studio project R can't find
What is Context?
How to save activity State in Android?
Decompile APK Files: How to Get Source Code - RRutors Guide
What is Application?
How to Generate signed apk with android studio
Fix Play Store Rejection Due to SMS Permission - RRutors
ERR_ACCESS_DENIED in Android Webview with sdk 30
What is Intent? What is the difference between an implicit intent and an explicit intent?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Permission denied for window type 2010 in Marshmallow device
What is the Different Between val and var in Kotlin?
How do I check in SQLite whether a table exists?
What happens next when the device switches between portrait and landscape?
How to copy database from assets folder in android using kotlin