如何在Android的推出Android应用程序的网址是什么?应用程序、网址、如何在、Android

2023-09-06 02:27:44 作者:垂眸

谁能告诉我如何从URL中Android开放的Andr​​oid应用程序。

Can anybody please tell me how to open android application from URL in android.

我使用下面的方法来打开Android应用程序,但它不为我工作。

I am using following method to open application in android but it doesn't works for me.

<data android:scheme="application"/>

我传递的URL来源应用程序:// [RandomText]

I am passing source of URL "application://[RandomText]"

时,打开应用正确的方法是什么?

Is it correct way to open application?

推荐答案

试试这个:         

Try this:

    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />

    <data android:host="www.put-your-website.com" />
    <data android:scheme="https" />
    <data android:scheme="http" />
    <data android:pathPattern=".*" />
</intent-filter>
 
精彩推荐
图片推荐