How To Show Chooser Intent With My Own Android App On Click Of Whatsapp Location?
If there's a WhatsApp chat which has location shared, when clicked it shows a chooser intent with some set of applications. I want to write an intent filter so that my application
Solution 1:
You can do it by supporting implicitintent to your Activity.
Define intent-filter to Activity to which you want to open after clicking to your Application from options.
<activityandroid:name=".BrowserActivitiy"android:label="@string/app_name"><intent-filter><actionandroid:name="android.intent.action.VIEW" /><categoryandroid:name="android.intent.category.DEFAULT" /><dataandroid:scheme="http"/><dataandroid:scheme="geo"/></intent-filter></activity>To know more about Intents and Intent filters go to official website. https://developer.android.com/guide/components/intents-filters
Post a Comment for "How To Show Chooser Intent With My Own Android App On Click Of Whatsapp Location?"