Questions tagged [share-intent]
106 questions
2
votes
2 answers
In iOS, how can I get the contact shared from "Recent" calls list to my app in Flutter?
Please excuse me if I sound stupid, I'm new to flutter.
I have started learning flutter recently and wanted to create an app where anyone can share a contact from the "Recent" calls list to my app. I'm following this blog post which allows text…

Kumar Ravi
- 429
- 2
- 20
2
votes
1 answer
Branch IO generate link show in Quick Links Dashboard
Android Platform
i use below code to generate and share the link in Facebook etc, and click it, it has record in " Summary ", but not show in Quick Link Dashboard.
val lp = LinkProperties()
…

yso
- 25
- 5
2
votes
3 answers
Android Problem with sharing temporary file
I' m trying to create a temporary file and share it.
So I created this class:
public class GenerateFile {
public static File writeToFile(Context mcoContext, String sBody) {
String fileName = "LOG FILE_" +…

TheOldBlackbeard
- 395
- 4
- 22
2
votes
4 answers
Make title text bold when sharing
Here, the code below will share the content onclick. While sharing the content through other app there are two contents: one is ti - title, another is de - description. I want to make the title bold while sharing. Is that…

Dark Ninja
- 149
- 2
- 13
2
votes
1 answer
Get HTML from web page shared from browser through intent
I'm looking to get the HTML from a web page shared by the user with my app.
So I have this intent filter:
…

Alejandro
- 1,159
- 3
- 16
- 30
2
votes
0 answers
How to get Path of image which is shared from whatsapp in android
I'm not getting Path from image from uri that I receive from whatsApp.
Uri comes like this: content://com.whatsapp.provider.media/item/66381
Image from any other apps is coming fine in my app (like facebook, twitter etc.) But its not working fine…

Prithniraj Nicyone
- 5,021
- 13
- 52
- 78
2
votes
2 answers
Navigate back to app after closing share dialog
I have a share button in my application, whose purpose is to share a string of information with user selected app (for example twitter or gmail). The problem is when you click the share button, the share window appears and the app becomes black in…

N. Park
- 387
- 4
- 14
2
votes
5 answers
share Image and text in Android
I'm using the code below to share Image and text in Android. When I choose Whatsapp it shares the image and text together , but when I choose Facebook it just shares Image without any text! What's mistake in my code? Thanks.
Intent share = new…

Ram Chandran
- 83
- 1
- 8
2
votes
1 answer
Sharing Intent shows old extras in WhatsApp
Guys i need help i aam facing a very strange problem and I would like to hear your opinion i added a share button to share images.
I used
Intent intent = new Intent ();
intent.setType("image/png");
intent.putExtra(Intent.EXTRA_STREAM,…

dEv_tO_bE
- 145
- 2
- 12
2
votes
1 answer
ActionBar: Share button not working
I am trying to develop an ActionBar which contains a share button, but if the user clicks on the share nothing happens.
2
votes
3 answers
Share audio file from the res/raw folder thorugh Share Intent in Android
I'm trying to share an audio file from my res/raw folder. What I've done so far is:
Uri uri = Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.sound); //parse path to uri
Intent share = new Intent(Intent.ACTION_SEND); //share…

Miquel Perez
- 445
- 1
- 6
- 17
2
votes
1 answer
Custom intent-chooser - why on Android 6 does it show empty cells?
Background
I wish to show the native intent-chooser, while having the ability to customize it a bit.
For this, I've found the next StackOverflow thread:
How to customize share intent in Android?
The problem
Thing is, when I use the suggested code on…

android developer
- 114,585
- 152
- 739
- 1,270
2
votes
5 answers
Intent share is not able to attach image
Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "My text");
sendIntent.putExtra(Intent.EXTRA_STREAM,…

Charu
- 1,055
- 13
- 18
1
vote
2 answers
Android java Share Intent image plus text and link how to
I've been trying for days to get Shared Intent working on Android with an image, text and a link at the bottom. In the image is what I want to achieve. You can see what I get at the bottom.
What I want to achieve
This is the code I have right…

Marshall Knight
- 21
- 3
1
vote
0 answers
how to show Image Preview In ShareSheet in android while sharing both image and text In intent
currently in preview its showing text,but i want image to be shown in preview instead of text
val bitmapUri = Uri.parse(path)
val intent = Intent(Intent.ACTION_SEND_MULTIPLE)
val share = Intent.createChooser(Intent().apply {
…

Mohanapriya
- 19
- 3