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
2 answers

Share button changes color after exporting app

I think this is related to proguard; please see edits at bottom of post. I'm using eclipse to build a little android app. When I run my app (by clicking on the green run button in eclipse, with my phone connected to my computer by USB), my share…
Adrian
  • 3,138
  • 2
  • 28
  • 39
0
votes
1 answer

SetShareIntent when a new fragment is displayed

My question is similar to Android setShareIntent within fragment, but I read the answers there and couldn't figure out how to apply them to my situation. Quick summary of my question I'd like to setShareIntent each time the fragment changes, i.e.…
Adrian
  • 3,138
  • 2
  • 28
  • 39
0
votes
1 answer

Android - Detecting various cases of app installation

I'm currently working on an app which will be used for marketing purpose. This app has a feature to share a link to device contacts or social media, to let other people download this app from Google Play Store. But my company has made a rule for…
Harry
  • 568
  • 1
  • 5
  • 20
0
votes
2 answers

How can I set the name of application diffrent at the time of "Launcher" and "share via"

I want to know the way to set the application name different at the time of launcher and at the time of browser sharing list by share . I know sharing functionality takes place by intent filter, but I am not able to set the name different. I want…
0
votes
1 answer

Icons are not shown in the ActionBar

Thanks to you I have solved many problems. In my app I have activated the ActionBar to android-support-v7-compat. And you can perfectly see the ActionBar but have put a share icon on the ActionBar and only emptiness ActioBar shown. No icon shows the…
0
votes
1 answer

Sharing Files in Android with some partners using Dropbox

this is the first time I'm taking a look at the Dropbox API so I'm afraid I kinda don't understand much. My purpose is to develop an App in which I place some files into a directory so as to be automatically uploaded to the server and synced in…
Fernando
  • 751
  • 2
  • 13
  • 27
0
votes
0 answers

New Share intent?

I noticed that some apps like DropBox and Google + have a new look for sharing which looks pretty nice : which might be scrolled to the top. Is this sharing with intents ? or is this a custom way to share ? (note : both Drpbox and Google+ have same…
user1079425
0
votes
1 answer

Communication between Google Glass and smartphone (SHARE JSON DATA)

I need process some information in my device (sensorial information) and share some of this information to the glass. The glass only have to display information. what is the best way to do this?? I have read about sharing data through bluetooth,…
0
votes
1 answer

Getting permission denied when using a URI despite FLAG_GRANT_READ_URI_PERMISSION being set

I have two android apps A and B. I am passing a file from app A to app B and I am seeing that app B is getting the URI. I am setting the FLAG_GRANT_READ_URI_PERMISSION flag in app A and I am seeing that that mFlags is a 1, which is the value of…
corbin
  • 1,446
  • 2
  • 27
  • 40
0
votes
2 answers

How to save image with text as a MMS in another variable by canvas in android?

I have created my app which shares an image with text. Right now I want to save an image with text in a variable, but my problem is how to save image with text in another variable by canvas in Android. That is, I want to share an MMS (image with…
Shashank Gupta
  • 165
  • 2
  • 16
0
votes
3 answers

sharing image from drawable

I want create activity for share image from drawable source, and this is my code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button button = (Button)…
Mehrdad Faraji
  • 3,744
  • 3
  • 25
  • 38
0
votes
0 answers

App's Files folder accessible to another application

I have two apps that generate some files, I would like these files to be synchronized on a server. To avoid code duplication I'm creating only one background worker thread to synchronize these files. At this point I have two independent…
M'hamed
  • 2,508
  • 3
  • 24
  • 41
0
votes
0 answers

Adding Metadata to images for sharing on android

I am trying to add metadata to an image within an android application. The application receives the image from the gallery, and can successfully forward it on using a share button. What I am struggling to do, however, is to add metadata to the…
0
votes
1 answer

Detect success/failure while sharing content using ShareActionProvider

I am doing sharing in my application using ShareActionProvider. However I can not find a way to validate if sharing was successful or not (failed, user cancelled it at some point, etc.). Is it possible to do this? I know I could make it easy using…
mkorszun
  • 4,461
  • 6
  • 28
  • 43
0
votes
1 answer

Android - How can prevent app run automatically when filter ACTION_SEND to have only one app

In my app, I use ACTION_SEND intent in purpose for sharing some text. However, I customize this ACTION_SEND filtering for three apps like Twitter, Facebook and KakaoStory. It doesn't have problem when I have at least two of these apps installed in…
user3098538
  • 1,201
  • 3
  • 13
  • 15