【发布时间】:2013-10-31 07:48:54
【问题描述】:
我正在使用此代码在 Play 商店中显示应用:
<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>
【问题讨论】:
标签: android xml android-intent share preferencescreen