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 Use Deprecated Handler() in Android - RRutors Guide
How to check Android version?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
How to validate email address in Android with Kotlin?
Fix Play Store Rejection Due to SMS Permission - RRutors
What is Application?
What is the Different Between val and var in Kotlin?
What is ANR in android?
FCM Not Receiving Notifications in Android - RRutors
What is Android Fragments?
How do I generate random numbers in Dart?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Extract Date and Time from Long Type Variable - RRutors
How to start a new activity on button click
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How to Generate signed apk with android studio
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to get complete address from latitude and longitude?
How do I check in SQLite whether a table exists?
ERR_ACCESS_DENIED in Android Webview with sdk 30
Explain Fragment Life Cycle
How do i load image from drawable folder in Jetpack Compose?
How to install/ uninstall apk by command line ADB
What is "shared preferences" in Android ?
How to stop EditText focus at Activity startup in Android?
Fix Android Emulator Kill Error When Running Your App
What is the difference between match_parent and fill_parent?
What happens next when the device switches between portrait and landscape?
How can i comment inside xml file in android studio?
How to convert DP to Pixel and Pixel to Dp?
Invoke-customs are only supported starting with android 0 --min-api 26
How to find Android Device UDID or unique ID?
What is Intent? What is the difference between an implicit intent and an explicit intent?
How to Get bitmap from drawable: Android
How to copy database from assets folder in android using kotlin
Key Points to remember while develop the Android Application.
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Set Activity to Fullscreen Mode in Android - RRutors
How To Set Text Color Programmatically Android TextView?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.