Questions tagged [share-intent]

106 questions
0
votes
1 answer

while sharing image via share intent hangout shows old image inside image preview screen in android

while sharing image via android share intent hangout shows old image inside image preview screen which appears before sending image,but whatsapp and facebook shows cuurently selected image itself, even it shows wrong image in preview ater clicking…
Usha
  • 74
  • 1
  • 10
0
votes
1 answer

Share hyperlink text in whats app using a share intent?

I want to share my app's play store link via whats app using android share intent .. i am able to share the url and when we click on it it will redirect to the play store .. but i want to share the links as hyperlink . the sharing content also…
0
votes
0 answers

How to share a image to whatsapp from URL using share intent

How can i share a image from url to whatsapp using share intent. How can i convert the URL to bitmap and then share it. That's my code: Intent whatsappIntent = new Intent(Intent.ACTION_SEND); whatsappIntent.setType("image/*"); …
user9658973
  • 3
  • 1
  • 5
0
votes
1 answer

Share text intent prefilled phone number issue

Have written below code to share text in android. Issue i am facing is to prefill the phone number in the sms app. public static void shareText(final String extraText, final String extraEmail, final String phoneNumber) { Intent…
Ankur
  • 677
  • 1
  • 7
  • 21
0
votes
1 answer

Rename URI file to share audio from raw folder

I'm trying to make an application with sharing of children that are inside the "raw" folder of the application, but I'm not getting it. The file is shared but does not have an .mp3 extension. I was not able to hear Windows Media Player, but I put a…
0
votes
2 answers

Launch share intent on Onesignal notification action button click

I am able to successfully send notifications in onesignal. All of the features are working fine. But today when I tried to implement action buttons to the notifications, its not working. I tried to add an action button with id "ActionOne", on click…
0
votes
1 answer

Can not share image in Gmail and Instagram

I want to share Image via shareIntent. My code is given below : Intent shareIntent = new Intent(Intent.ACTION_SEND); shareIntent.setType("image/*"); shareIntent.putExtra(Intent.EXTRA_STREAM,…
Kesha
  • 497
  • 6
  • 19
0
votes
2 answers

How can I pass an imageview to a method in a fragment?

Basically when I try to pass an imageview or a view to a method in a fragment the result is null. The best I could until now was as code below that at least does not crash. I am inflating two fragments. What is wrong? Layout has two xml…
afazolo
  • 382
  • 2
  • 6
  • 22
0
votes
1 answer

Share audio and text together

I have an app with different sounds. I'd like to share a sound(audio) together with a text. If I share only a sound it works: share.putExtra(Intent.EXTRA_STREAM, Uri.parse(Environment.getExternalStorageDirectory().toString() + "/audio.mp3")); …
user7940193
  • 117
  • 2
  • 10
0
votes
0 answers

Share intent says unable to attach image and unable to open image

Newbie here. I have an app I'm working on that is all image views and everything is running fine but the problem I have is that I can't seem to open an image in email or attach an email in text msg as they both state, using the share intent method.…
Essentialz
  • 45
  • 3
  • 13
0
votes
1 answer

Sharing intent doesn't open on certain devices

What I am using: ShareCompat.IntentBuilder .from(getActivity()) .setText("text") .setType("text/plain") .startChooser(); I also tried the below: Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); …
Roudi
  • 1,249
  • 2
  • 12
  • 26
0
votes
1 answer

How to share image using Android-Universal-Image-Loader?

How to share an image using Android-Universal-Image-Loader I have an imageview which is loaded through imageloader but providing a URL to the image loader, I think the image loader already done writing the image from URL to disk and then displayed…
0
votes
1 answer

How do I share the current loaded URL from webview

How do I get and share the current URL in webview? My share works but doesn't share the current URL loaded. Here is my code in WebView private String mTrackUrlChange; private WebViewClient webViewClient = new WebViewClient(){ @Override …
kielou
  • 437
  • 3
  • 18
0
votes
2 answers

How to retrieve a bitmap from a vector image in a XML resource

I am reading a vector image from a XML resource and showing it in an ImageView. It's Ok. Now, I need to pass the image to an Intent using intent.putExtra. Question: How can I convert the vector XML to a bitmap or get the image from the ImageView? I…
0
votes
1 answer

Remove most recent share app

How would i get rid of that little box that has the messaging app while retaining the share icon?
Strahinja Ajvaz
  • 2,521
  • 5
  • 23
  • 38