0

I am a newbee to programing. I am trying to bundle a webrtc html5 site via crosswalk-project for cross compatibility. My site works on shareable links. Meaning, who ever clicks on the link can join a webrtc session.

I am trying to figure out how to open our site links from email, whatsapp etc with our designated app. I mean any url with mydomain.org/xyz123 should open with our app.

Please could someone point me in the right direction.

ligi
  • 39,001
  • 44
  • 144
  • 244
UncleDavy
  • 9
  • 2

1 Answers1

0

intent-filters are your friend.

<intent-filter>
   <action android:name="android.intent.action.VIEW" />

   <category android:name="android.intent.category.DEFAULT" />
   <category android:name="android.intent.category.BROWSABLE" />
   <data
                android:host="mydomain.org"
                android:scheme="https" />
</intent-filter>
ligi
  • 39,001
  • 44
  • 144
  • 244