Questions tagged [android-sharing]

In Android, sharing is the action of sending data (text, images, &c) to a different application or device (often chosen from a list of available targets instead of explicitly chosen).

Sharing can generally be accomplished with Intents, or via a specialized widget called a ShareActionProvider.

Developer Guide: Building Apps with Content Sharing

315 questions
0
votes
1 answer

How to deploy files into a device for multi-app access

My idea is to develop an application for Android, which is able to do the following: The APK-File contains a resource, e.g. a pdf-file. And this file should be accessible for certain other apps. My intention is to install that /res/raw/-file in a…
BenKenobi
  • 1
  • 1
0
votes
2 answers

share the description along with image in facebook not working

I want to share image along with caption in all possible app including facebook. I tried this code,it is working for all the other apps except facebook.Can anyone please help me how to share the caption along with image in facebook. Intent…
Ragamai K
  • 3
  • 4
0
votes
1 answer

Share Text in whatsapp and choosing multiple contact

Good Day, I want to implement a sharing in my app, where a simple text will be share in whatsapp by choosing multiple contact and will return to me the number of contact I chose to share with. I tried the code below, but only allows me one contact…
0
votes
0 answers

Gmail Can't attach empty file with url image android?

I can't share Image with url :(I am using from Universal Image Library) Uri screenshotUri = Uri.parse("http://www.myurl.com/upload/Files/Walpaper/Logo/201631512317849.jpg"); String text = "Look at my awesome picture"; Intent shareIntent…
user4813855
0
votes
1 answer

How to create hyperlink text for app deeplinking

Actual Requirement click on share button generate a text/url/link share this with other users via whatsapp/fb/twitter/email etc. onclick of this link, my app opens with data passed in the link. similar to youtube link like:…
0
votes
1 answer

Share intent message with hyperlink to my app in Google Play

I have a shareButton in optionsMenu from where I would like to send a message via wasap, gmail... describing my app and containing a hyperlink to Google Play. The problem is that the hyperlink doesn't appear, this is what I have done: …
Spirrow
  • 1,120
  • 6
  • 18
0
votes
1 answer

Error during sharing text and Image on Facebook using facebook SDK integration

i m getting error during shareing text and Image on Facebook. i used Facebook SDK 4.0 version to integrate into my app Facebook Analytic showing no error. App opens : 58 when i click on image, Facbook opens and instantly closed, there is no post on…
Ashu Kumar
  • 832
  • 19
  • 38
0
votes
1 answer

Android: Unable to share link as URL

I am developing an application in which i want to share a custom link with the intent as: Intent intentShare = new Intent(Intent.ACTION_SEND); intentShare.setType("text/plain"); intentShare.putExtra(Intent.EXTRA_TEXT,…
Manoj Fegde
  • 4,786
  • 15
  • 50
  • 95
0
votes
2 answers

What is the right way to change the display name in an Android FileProvider?

Say if I have filename 1234567.png on the internal filesystem - say I want to send it to the user with a share intent as CoolPicture.png - ie subclass fileprovider and replace the query method. Is using a matrix cursor based on the cursor from super…
nAndroid
  • 862
  • 1
  • 10
  • 25
0
votes
1 answer

Branch.io Android sharing: Different messages based on selection

I'm using Branch.io for sharing content from my app. I think it has a good interface, but I'm in a situation where I would like to share different message texts for different cases. For example, I'd like to have a certain text for e-mail and a…
Rameez Hussain
  • 6,414
  • 10
  • 56
  • 85
0
votes
1 answer

Android: Send HTML text using ACTION_SEND Intent

I'm trying to send some HTML formatted text via the ACION_SEND Intent in my app. The HTML file is located in my assets directory and it has links to some images and contains other CSS stylings. Thus far I've tried the following: private Intent…
Rameez Hussain
  • 6,414
  • 10
  • 56
  • 85
0
votes
1 answer

Android: Call intent after share intent

I am developing an application in which i am sharing URL from my app with the help of share intent as: final Intent intentShare = new Intent(Intent.ACTION_SEND); intentShare.setType("text/plain"); intentShare.putExtra(Intent.EXTRA_TEXT,…
0
votes
1 answer

Unable to click on Share button

I am trying but unable to click the share button while the up button works fine. I have the following code in a class that extends AppCompatActivity : @Override public boolean onCreateOptionsMenu( Menu menu ) { MenuInflater inflater =…
g90
  • 506
  • 3
  • 18
0
votes
1 answer

Android: ComposerActivity error when user is not logged in native Twitter app when sharing a message using intent

First of all I have to say that all works fine when I am logged in in my native Twitter application. I have the problem when I am logged out from my native app. Intent tweetIntent = new Intent(Intent.ACTION_SEND); …
user2990759
  • 127
  • 1
  • 5
0
votes
1 answer

Android: Sharing Data between multiple applications

I have a requirement, wherein I have 4 android apps, which are sending notifications to a user, at a fixed time of the day. A user could have one, or more of these apps installed on his phone. I want only one of the apps(any one) to show this…
Sandeep Kaul
  • 2,957
  • 2
  • 20
  • 36