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);
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
Open PDF in Google Drive with Intent in Android - RRutors
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
Extract Date and Time from Long Type Variable - RRutors
Hide/Disable soft keyboard on Activity launch: Android
Key Points to remember while develop the Android Application.
How to avoid multiple button click at same time in android?
What is ANR? How to avoid and resolve it?
What are the notifications available in android?
Explain Fragment Life Cycle
What happens next when the device switches between portrait and landscape?
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to convert milli seconds to hours, minutes and seconds in Android?
What is the Different Between val and var in Kotlin?
How to start a new activity on button click
How to copy database from assets folder in android using kotlin
What is Application?
How to Use Deprecated Handler() in Android - RRutors Guide
How To Set Text Color Programmatically Android TextView?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How to get a contact image using a phone number in android?
Add Jar/Library Files as Dependency in Android Studio
What is Android?
What is ANR in android?
Permission denied for window type 2010 in Marshmallow device
How to find Android Device UDID or unique ID?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
What is NetworkOnMainThread Exception?
Invoke-customs are only supported starting with android 0 --min-api 26
How to Get bitmap from drawable: Android
How do I generate random numbers in Dart?
How to stop EditText focus at Activity startup in Android?
Android Studio project R can't find
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Fix Duplicate Files in APK Build.gradle Issue - RRutors
How to Exit android app on back pressed?
Fix Play Store Rejection Due to SMS Permission - RRutors
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
How to convert DP to Pixel and Pixel to Dp?
How do I check in SQLite whether a table exists?