rchao
window.location.href = "xl://com.caho.app:8888/app?name=chao";
<activity>
        <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:host="com.chao.app"
                    android:path="/app"
                    android:port="8888"
                    android:scheme="xl" />
            </intent-filter>
</activity>

 

Uri uri = getIntent().getData();
uri.getQueryParameter("name");//获取参数

 

分类:

技术点:

相关文章: