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 me.
<data android:scheme="application"/>
I am passing source of URL "application://[RandomText]"
Is it correct way to open application?
First of all you need to add intent filters for incoming links. Specify the ACTION_VIEW intent action so that the intent filter can be reached from Google Search. Add one or more tags, each of which represents a URI format that resolves to the activity. At minimum, the tag must include the android:scheme attribute.
Open your mobile phone network setting and set the http proxy and then you can grab request from you android app. Charles download url https://www.charlesproxy.com/。 Open WIFI wireless hotspot on your computer then connect to the hotspot。 Now you can use wireshark or httpScoop to grab request from you android app.
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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With