How to launch android application from URL in android?

后端 未结 2 510
情书的邮戳
情书的邮戳 2021-01-02 15:53

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

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

相关标签:
2条回答
  • 2021-01-02 16:12

    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>
    
    0 讨论(0)
  • 2021-01-02 16:22

    Read about BroadcastReceiver. An application must register itself to listen to intents sent using sendBroadcast(). After this the user is presented with a pop up to launch that application. (Similar to send functionality where you can choose to send using different applications)

    0 讨论(0)
提交回复
热议问题