Questions tagged [android-sharesheet]

15 questions
2
votes
0 answers

How do I add app to share menu for iOS/Android

I'm trying to add my app to the list of available shares for other apps, and I wanted to make sure I had it right. The documentation doesn't explicitly state this, and I really want to be sure of what it means before I move forward: Every app that…
1
vote
2 answers

How to show React Native App in share sheet suggestions?

I want to use Share functionally in my React Native application but there is one exception, I don't want to share a content from my app, I want to share content from another app to my app, how is it possible to show my App in share sheet suggestions…
Leri Gogsadze
  • 2,958
  • 2
  • 15
  • 24
1
vote
2 answers

Is it possible to create a custom share sheet in Flutter?

I want to build this custom share sheet shown in the screenshot depending on the apps that are on the mobile, could anyone tell me if it's possible? screenshot i am currently using flutter's share_plus package, but the share method summons the…
1
vote
0 answers

Is there a way to track when the "Copy" link button is tapped in the Android system share sheet?

Does anyone know if it's possible to track when the "Copy" link button is tapped in the Android system share sheet? Using an IntentSender and extracting the chosen component from the result bundle works great if the user chooses an app to share to,…
Ryan
  • 3,414
  • 2
  • 27
  • 34
1
vote
1 answer

Share Video Preview Image using ACTION_SEND with Android Sharesheet

Since Android 10+, the Android Sharesheet has supported providing image previews of files shared using ACTION_SEND. Making a custom ActivityResultContract with the Android documentation for sending binary content, you get something like this: class…
1
vote
1 answer

how to remove or change icon from share sheet android

I want remove or add the app icon to be shown when sharing inside my app. When clicking the Share the App button in my App. It works but in some samsungs device it visible icon. It shows like Below how can i remove or change icon. thanks
MKD
  • 475
  • 1
  • 5
  • 11
1
vote
0 answers

Is it possible to only show your app as a receiver in the share sheet for a certain number of attachments for Android?

Hi I want my app to show in the share sheet only if the user has selected 5 or less files but I am not sure if that is possible. So far I have the following code in the manifest so that my app will show when the user selects multiple attachments. I…
Jisoo
  • 43
  • 6
1
vote
1 answer

Android - Share content on social media

I have an Android app screen which shows an image, a description and other additional information. I'd like to share this via social media (like Facebook, Twitter, etc). Basically I'd like to send the image, a small text and a URL. I have added a…
cesarcarlos
  • 1,271
  • 1
  • 13
  • 33
0
votes
1 answer

Copy text event from Android share sheet

We wanted to detect if user clicked on copy option available on android share sheet. Is it possible? We want to do it for tracking purposes.
Sohail Zahid
  • 8,099
  • 2
  • 25
  • 41
0
votes
0 answers

Want to know the package name of app clicked from android sharesheet

I want to know the package name of app clicked from android sharsheet. Developer.android.com says to use a pending with Intent.createchooser. And we can get package name in onReceive method of broadcast receiver that we use in pending Intent. My…
0
votes
1 answer

Android sharesheet download file after destination selection

I have the code below to share a video file (.mp4) using an Android Sharesheet. The code works ok and the video does get shared but I have a few issues that do not meet my requirements. I was hoping someone could help or point me in a direction to…
LilMoke
  • 3,176
  • 7
  • 48
  • 88
0
votes
0 answers

How to open pdf file by link via Android Sharesheet kotlin

I have a link that leads to a pdf file. I need to use Android Sharesheet to open this file with existing applications for pdf files on my phone. I have this code, but when this dialog opens, it does not show what I need: val share =…
onesector
  • 361
  • 5
  • 18
0
votes
1 answer

Android: How to hide activity (or make it transparent) while showing a bottom sheet?

I'm a newbie to Android programming. I'm building an app with sharing feature as the first picture. When the user shares a file, I want to show the bottom sheet menu as dialog like the 2nd picture. But now the activity is covering the main screen…
Anna
  • 43
  • 5
0
votes
0 answers

sending link with preview using sharesheet

I'm trying to do the following in my application: Basically, my goal is that users will be able to share my app with their friends( for this example I used google link). I tried to do the following but it didn't work: Intent sendIntent = new…
Ben
  • 1,737
  • 2
  • 30
  • 61
0
votes
0 answers

Launching Sharesheet without Intent.createChooser

Is there a way to launch the Sharesheet (see https://developer.android.com/training/sharing/send) without having to wrap the called intent into the createChooser-returned intent, but rather specifying the wish for the Sharesheet as an ACTION and/or…
Kaarel
  • 10,554
  • 4
  • 56
  • 78