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);
'constructor Handler()' is deprecated. Deprecated in Java, How to use Handler() class in And
How to add jar/library files as a dependency in Android studio gradle file
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
How to check Android version?
Could not inflate Behavior subclass android.support.design.widget. BottomSheetBehavior How resolve
How to get a contact image using a phone number in android?
What is Android Fragments?
How to start a new activity on button click
Hide/Disable soft keyboard on Activity launch: Android
How can i comment inside xml file in android studio?
What is the Different Between val and var in Kotlin?
What is Application?
How to get an image resource by it's name in android?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
How to find Android Device UDID or unique ID?
How do i load image from drawable folder in Jetpack Compose?
Android FCM not receiving notifications when app is removed from background
Android Activity FullScreen - How to set activity to fullscreen mode in Android?
How to Generate signed apk with android studio
How to stop EditText focus at Activity startup in Android?
How to save activity State in Android?
How to install/ uninstall apk by command line ADB
What is NetworkOnMainThread Exception?
How do I check in SQLite whether a table exists?
What is Intent? What is the difference between an implicit intent and an explicit intent?
Duplicate files during packaging of APK” build.gradle issue: Android Studio
How to extract date and time from Long type variable in Kotlin on Android "
What is ANR? How to avoid and resolve it?
What are Android Versions available?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to validate email address in Android with Kotlin?
Intent for Drive PDF Viewer - How to open PDF in Google Drive with intent
Error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path
ERROR Android emulator gets killed when I try to run my application and choose an emulator it ret
Android Studio project R can't find
What are the notifications available in android?
Is There A Way To Get The Source Code From An APK File? (or) How to decompile apk?
What is "shared preferences" in Android ?
How to convert DP to Pixel and Pixel to Dp?
Invoke-customs are only supported starting with android 0 --min-api 26