0

I use the answer from Android Respond To URL in Intent for responding to URL. However, it just works for Google. When I change the host in manifest, it doesn't work. How to use another URL?

Community
  • 1
  • 1
chy
  • 77
  • 8

1 Answers1

0

IN INTENT FILTER CHANGE THE HOST TO YOUR HOST URL

<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="www.youtube.com" android:scheme="http"></data>
</intent-filter>
Rohit
  • 2,646
  • 6
  • 27
  • 52
NIPHIN
  • 1,071
  • 1
  • 8
  • 16
  • TRY THIS --> http://stackoverflow.com/questions/1609573/intercepting-links-from-the-browser-to-open-my-android-app – NIPHIN Aug 27 '14 at 05:49