Android 通过首选项屏幕中的意图共享链接
我正在使用此代码在play store上显示应用程序:Android 通过首选项屏幕中的意图共享链接,android,xml,android-intent,share,preferencescreen,Android,Xml,Android Intent,Share,Preferencescreen,我正在使用此代码在play store上显示应用程序: <PreferenceScreen android:title="Please rate and comment" > <intent android:action="android.intent.action.VIEW" android:data="https://play.google.com/store/apps/details?id=com.c
<PreferenceScreen android:title="Please rate and comment" >
<intent
android:action="android.intent.action.VIEW"
android:data="https://play.google.com/store/apps/details?id=com.chovanec.square" />
</PreferenceScreen>
但我也想分享这个链接。我怎么做?这不起作用:
<PreferenceScreen android:title="Please rate and comment" >
<intent
android:action="android.intent.action.SHARE"
android:data="https://play.google.com/store/apps/details?id=com.chovanec.square" />
</PreferenceScreen>
试试这个:
您可以尝试从github下载插件。尝试以下方法: 您可以尝试从github下载插件