I am developing an image upload application. I successfully launch my application when the user clicks the link to download the image. How can I filter a specific URL?
here is my manifest code:
<activity android:theme="@style/Transparent" android:name=".DownloadImage" android:label="@string/app_name"> <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:mimeType="image/*" android:host="*" android:scheme="http" /> </intent-filter> </activity>
my application will launch and download the image when the user clicks on any link in the browser, but does not launch it at a specific URL, for example, "http://www.ABC.com" or a specific element "http://www.ABC. com / image / background.jpg "
source share