Hi i am developing an app to open txt files.When user touches a txt file on sd card my app should shown in open with list. My app is working file with other android version but phone doesn't show my app in open with list. Phone is generel mobile gm5+ .i don't know it is because of the phone or android version. here is my manifest
<activity
android:name=".ui.SplashActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<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:scheme="file" />
<data android:mimeType="text/plain" />
<data android:pathPattern=".*\\.txt" />
</intent-filter>
</activity>
Thanks for your help.