'AddActivityText(Main,
'<intent-filter>
' <action android:name="android.intent.action.VIEW" />
' <category android:name="android.intent.category.BROWSABLE" />
' <category android:name="android.intent.category.DEFAULT" />
' <data android:scheme="file" />
' <data android:mimeType="*/*" />
' <data android:host="*" />
' <data android:pathPattern=".*\\.*" />
'</intent-filter>)
AddActivityText(Main,
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
'<data android:scheme="file" />
'<data android:host="*" />
<data android:mimeType="application/octet-stream" />
</intent-filter>
)