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 is Android?
How do i load image from drawable folder in Jetpack Compose?
Invoke-customs are only supported starting with android 0 --min-api 26
How to avoid multiple button click at same time in android?
How to stop EditText focus at Activity startup in Android?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
What is ANR in android?
Extract Date and Time from Long Type Variable - RRutors
How to find Android Device UDID or unique ID?
What are the notifications available in android?
What is Context?
What is the Different Between val and var in Kotlin?
How To Set Text Color Programmatically Android TextView?
How to save activity State in Android?
How to validate email address in Android with Kotlin?
How to copy database from assets folder in android using kotlin
Open PDF in Google Drive with Intent in Android - RRutors
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Key Points to remember while develop the Android Application.
What is the difference between match_parent and fill_parent?
How to get complete address from latitude and longitude?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How to install/ uninstall apk by command line ADB
Decompile APK Files: How to Get Source Code - RRutors Guide
Fix Play Store Rejection Due to SMS Permission - RRutors
How to Generate signed apk with android studio
How to Use Deprecated Handler() in Android - RRutors Guide
Permission denied for window type 2010 in Marshmallow device
How to get a contact image using a phone number in android?
How to start a new activity on button click
How can i comment inside xml file in android studio?
How to get screen size (width,height) in Android?
Fix Android Emulator Kill Error When Running Your App
Explain Fragment Life Cycle
What is ANR? How to avoid and resolve it?
What happens next when the device switches between portrait and landscape?
FCM Not Receiving Notifications in Android - RRutors
ERR_ACCESS_DENIED in Android Webview with sdk 30
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
How do I check in SQLite whether a table exists?