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);
What happens next when the device switches between portrait and landscape?
How to Exit android app on back pressed?
Check List for Generate Signed APK Android
What is ANR in android?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
How do i load image from drawable folder in Jetpack Compose?
FCM Not Receiving Notifications in Android - RRutors
Key Points to remember while develop the Android Application.
How to find Android Device UDID or unique ID?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
Fix Play Store Rejection Due to SMS Permission - RRutors
How to copy database from assets folder in android using kotlin
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
What is the Different Between val and var in Kotlin?
How to avoid multiple button click at same time in android?
How to Get bitmap from drawable: Android
What is Application?
What is ANR? How to avoid and resolve it?
How to get a contact image using a phone number in android?
What is the difference between match_parent and fill_parent?
How do I check in SQLite whether a table exists?
How to get complete address from latitude and longitude?
How to check Android version?
How to get an image resource by it's name in android?
Set Activity to Fullscreen Mode in Android - RRutors
Hide/Disable soft keyboard on Activity launch: Android
How to Use Deprecated Handler() in Android - RRutors Guide
Add Jar/Library Files as Dependency in Android Studio
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
What are the notifications available in android?
How to convert milli seconds to hours, minutes and seconds in Android?
Android Studio project R can't find
What is Android Fragments?
What is "shared preferences" in Android ?
What is Context?
How to get screen size (width,height) in Android?
Fix Android Emulator Kill Error When Running Your App
How to start a new activity on button click
What is Intent? What is the difference between an implicit intent and an explicit intent?
How can i comment inside xml file in android studio?