点击验证链接后,如何将邮件重定向到Android应用程序
点击邮件上的验证链接后,如何直接重定向到Android应用请解释 例如:点击验证链接后,如何将邮件重定向到Android应用程序,android,url,Android,Url,点击邮件上的验证链接后,如何直接重定向到Android应用请解释 例如: 您需要在单击URL后要启动的活动中使用意图过滤器,如下所示: <activity . . . android:windowSoftInputMode="stateVisible|adjustResize" > <intent-filter> &
您需要在单击URL后要启动的活动中使用意图过滤器,如下所示:
<activity
.
.
.
android:windowSoftInputMode="stateVisible|adjustResize" >
<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="http"
android:host="www.yourdomain.com"
android:pathPrefix="/path/to/resource" />
</intent-filter>
</activity>
就你而言
方案
将是https
host
将成为www.quora.com
路径前缀
将是/signup/confirm\u电子邮件
<activity android:name=".Register_User">
android:windowSoftInputMode="stateVisible|adjustResize" >
<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="http"
android:host="scaano.com"
android:pathPrefix="/Welcome/userprofile" />
</intent-filter>
</activity>