Sharing apps now has a better plaintext structure
SUBJECT: "Android App: [name]" TEXT: "[name] ([summary]) - [link]"
This commit is contained in:
parent
ff0f3a27f9
commit
38c0ae1972
@ -775,8 +775,8 @@ public class AppDetails extends ListActivity {
|
|||||||
Intent shareIntent = new Intent(Intent.ACTION_SEND);
|
Intent shareIntent = new Intent(Intent.ACTION_SEND);
|
||||||
shareIntent.setType("text/plain");
|
shareIntent.setType("text/plain");
|
||||||
|
|
||||||
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, app.name);
|
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Android App: "+app.name);
|
||||||
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "https://f-droid.org/app/"+app.id);
|
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, app.name+" ("+app.summary+") - https://f-droid.org/app/"+app.id);
|
||||||
|
|
||||||
startActivity(Intent.createChooser(shareIntent, getString(R.string.menu_share)));
|
startActivity(Intent.createChooser(shareIntent, getString(R.string.menu_share)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user