mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-17 21:25:31 +00:00
自定义 Scheme(forwarder://main)用于唤起App
This commit is contained in:
parent
e11123de07
commit
d65b305053
@ -46,8 +46,13 @@
|
|||||||
<activity android:name=".MainActivity">
|
<activity android:name=".MainActivity">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
<!--协议部分,随便设置-->
|
||||||
|
<data android:scheme="forwarder" android:host="main"/>
|
||||||
|
<!--下面这几行也必须得设置-->
|
||||||
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
|
<action android:name="android.intent.action.VIEW"/>
|
||||||
|
<category android:name="android.intent.category.BROWSABLE"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
|
Loading…
Reference in New Issue
Block a user