Hello to open Application from URL i have code below
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
<data android:host="maps.google.com" android:scheme="http"></data>
</intent-filter>
URL is below
https://maps.google.com/maps?q=70.005540,-111.000050
and to get Data in activity below is my code
Uri data = getIntent().getData();
if (data != null) {
txtView.setText(data.getPath());
}
My problem is when i click on above URL my application is not opening….
Replace your xml code with below code
it will work, i have tested