private void share() {
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image/png");
share.putExtra(Intent.EXTRA_STREAM,
Uri.parse("file://" + filename));
startActivity(Intent.createChooser(share, "Share Tag"));
}
I implemented this simple function for calling from the menu, but after I name it, the file that I shared will completely disappear - it is as if part of it is deleting it from my repository. Why is this done, and how can I stop it?
source
share