deep linking - How to start my Android application when a link clicked from external app like whatsapp or facebook? -
i have used deep linking concept using following intent filter in manifest file.
<activity android:name=".myactivity" android:screenorientation="portrait" android:windowsoftinputmode="statealwayshidden" > <intent-filter android:label="@string/app_name"> <action android:name="android.intent.action.view" /> <category android:name="android.intent.category.default" /> <category android:name="android.intent.category.browsable" /> <data android:host="test.myapp.com" android:scheme="http" /> </intent-filter> </activity>
this helps me show application when clicked on link in whats app, shows other applications in list chrome,internet etc. how can make access app directly after clicking link in other application whats app.?
my idea add intent filter, starts app if device opens special url (for example www.your-project.com). have on documentation explains social sites linkage app.
if user has app installed, click on link open app. otherwise link opened default browser.
Comments
Post a Comment