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 reduce APK package size?
Error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path
Permission denied for window type 2010 in Marshmallow device
How do I generate random numbers in Dart?
What happens next when the device switches between portrait and landscape?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
How to check Android version?
Check List for Generate Signed APK Android
What is NetworkOnMainThread Exception?
How can i comment inside xml file in android studio?
What is Context?
Explain Fragment Life Cycle
'constructor Handler()' is deprecated. Deprecated in Java, How to use Handler() class in And
How to Exit android app on back pressed?
What is Android?
What is Application?
Is There A Way To Get The Source Code From An APK File? (or) How to decompile apk?
How to stop EditText focus at Activity startup in Android?
How to convert milli seconds to hours, minutes and seconds in Android?
How to get an image resource by it's name in android?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
Duplicate files during packaging of APK” build.gradle issue: Android Studio
How to get complete address from latitude and longitude?
How to convert DP to Pixel and Pixel to Dp?
What are the notifications available in android?
Intent for Drive PDF Viewer - How to open PDF in Google Drive with intent
How to Generate signed apk with android studio
Key Points to remember while develop the Android Application.
How To Set Text Color Programmatically Android TextView?
Could not inflate Behavior subclass android.support.design.widget. BottomSheetBehavior How resolve
How to install/ uninstall apk by command line ADB
ERROR Android emulator gets killed when I try to run my application and choose an emulator it ret
How to copy database from assets folder in android using kotlin
How do I check in SQLite whether a table exists?
What are Android Versions available?
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to extract date and time from Long type variable in Kotlin on Android "
How to avoid multiple button click at same time in android?
Invoke-customs are only supported starting with android 0 --min-api 26
What is "shared preferences" in Android ?