有没有办法从电子邮件启动 android 应用程序,而不使用 http/https ?
问问题
91 次
2 回答
0
您需要以 HTML 格式发送电子邮件,并在标签中包含您的链接:
<a href='myscheme://myhost?data=whatever'>Launch App
在此之前,您必须将其添加到清单文件中
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="ace" android:host="samuel"/>
</intent-filter>
单击链接时,它会提示您完成操作,然后从中选择您的应用程序。
谢谢。
于 2012-09-18T20:57:41.827 回答