use intent.createchooser to share text
This commit is contained in:
parent
74f09f2f5f
commit
0d37d7cd2d
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="401"
|
||||
android:versionName="1.169" >
|
||||
android:versionCode="402"
|
||||
android:versionName="1.170" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="16"
|
||||
|
@ -280,11 +280,11 @@ public class CommonActivity extends ActionBarActivity implements SharedPreferenc
|
||||
}
|
||||
|
||||
protected void shareText(String text) {
|
||||
startActivity(getShareIntent(text, null));
|
||||
startActivity(Intent.createChooser(getShareIntent(text, null), text));
|
||||
}
|
||||
|
||||
protected void shareText(String text, String subject) {
|
||||
startActivity(getShareIntent(text, subject));
|
||||
startActivity(Intent.createChooser(getShareIntent(text, subject), text));
|
||||
}
|
||||
|
||||
private void openUriWithCustomTab(Uri uri) {
|
||||
|
Loading…
Reference in New Issue
Block a user