As far as I know, the patterns SHOULD match:
- action = VIEW
- mimetype = any
- host = any
- pattern = Anything ending with .php
- scheme = file
AndroidManifest.xml sample:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="*/*" android:host="*" android:pathPattern=".*\\.php" android:scheme="file" />
</intent-filter>
Incoming intent data: