Android Question Where is "Always" or "Just Once" share setting saved?

JohnC

Expert
Licensed User
Longtime User
Many apps have a "Share" feature to send info to other apps. Some apps, when they display the "Share via.." window, also display an "Always" and "Just Once" buttons so the user can select a temporary or permanent destination for the "Share to" feature.

My question is this, when I make such a choice, where is this "Always" or "Just Once" selection saved....is it saved in the "sending" app, or is it saved in the "destination" app?

I ask because I am getting a weird problem of a "Sender" app loosing my "Always" selection *if* I use a totaly different app to share something else. I thought android apps are sandboxed, so how can one app cause a different app to loose it's "always" share setting?
 

JohnC

Expert
Licensed User
Longtime User
It is stored in the destination app. If you go in the dest apps app info, and clear defaults, it will forget that setting.


If it's the receving app that remembers the settings, then I am confused about something....

Sometime when I do a share the "Always" and "Just Once" buttons are visible, and other times they are not - it seems as though the "Sending" app is the one that determines if the "Always" or "Just Once" buttons are visible or not - so it doesn't make sense that the receiving app is the one that remembers this setting.
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
How so?
With the same code?


Not with the same app. Meaning, some "sending" apps will display the "Always/Just Once" buttons, but yet other "sending" apps wont - it depends on the app.

So, is it the "Sending" app's choice to display the "Always/Just Once" buttons, buts it's the "Receiving" apps responsiblity to remember which button I pressed?
 
Upvote 0

thedesolatesoul

Expert
Licensed User
Longtime User
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Some history..

I am about to create an app that will "receive" text using the "share" from a third-party app. However, I recently experianced an issue between two third party apps with regard to a problem with "sharing", so I thought that it would be a good first step to understand what is happening with these third party apps first, because it would give me a good insight into how "sharing" works.

Here's the problem with the third-party apps:

1) I am using an app called "NetMemo" to record voice notes and have them emailed to me. When you try to send the very first voice note, netmemo will pop-up the "Share to.." window that will list all the "receivers" that netmemo can use to send the voice note, such as "Bluetooth", "Email", "Gmail", ect. At the bottom of this window is two buttons - one labeled "Always" and the other "Just Once". If I select lets says for example the "email" receiver then click "Just Once", then then next netmemo I try to send a memo it will again pop-up this "Share to.." window. However, if I select "email" then click the "Always" button, then the next time netmemo tries to send it will *automatically* send it using "email" WITHOUT me having to do anything - and this would be a logical expectation of what the "Always" and "Just Once" buttons do. Once I select "Email" and "Always" for the netmemo app, it will continue to send voice memo's WITHOUT prompting me for a destination share object. So far so good.

2) I also use another app called "Plume" which is a twitter client. Heres where the problem starts - if I use plume to "Share" a tweet, plume will prompt me to select the destination object (and it does NOT display any 'always' or 'just once' buttons), but NO MATTER what object I pick, for example lets say I choose "Maps" and share the tweet, then exit plume. When I then try to send a new voice note using netmemo, netmemo will now PROMPT me for the destination object as if it "Lost" it's "Always use email" setting!

So, what app is to blame for this issue and why?
 
Last edited:
Upvote 0
Top