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);
Key Points to remember while develop the Android Application.
How to install/ uninstall apk by command line ADB
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
How to avoid multiple button click at same time in android?
How to validate email address in Android with Kotlin?
How to get screen size (width,height) in Android?
What are Android Versions available?
How do i load image from drawable folder in Jetpack Compose?
How to get a contact image using a phone number in android?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
How to get an image resource by it's name in android?
How to Generate signed apk with android studio
How To Set Text Color Programmatically Android TextView?
What is Intent? What is the difference between an implicit intent and an explicit intent?
How to check Android version?
How to start a new activity on button click
Check List for Generate Signed APK Android
What is NetworkOnMainThread Exception?
How to Get bitmap from drawable: Android
How do I check in SQLite whether a table exists?
How to find Android Device UDID or unique ID?
What is Android?
Permission denied for window type 2010 in Marshmallow device
What is Context?
What is Android Fragments?
How to get complete address from latitude and longitude?
Open PDF in Google Drive with Intent in Android - RRutors
Fix Android Emulator Kill Error When Running Your App
How to reduce APK package size?
Extract Date and Time from Long Type Variable - RRutors
What are the notifications available in android?
What is Application?
What happens next when the device switches between portrait and landscape?
Fix Play Store Rejection Due to SMS Permission - RRutors
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
FCM Not Receiving Notifications in Android - RRutors
How to convert DP to Pixel and Pixel to Dp?
Invoke-customs are only supported starting with android 0 --min-api 26
How to save activity State in Android?
How can i comment inside xml file in android studio?