For an Android Application, I am having a custom file with (.xyz) extension but in the AndroidManifest.xml what should be the value for the below code in the intent filter?
<data android:mimeType= "___________"/>
The thing which I want is that I have a file with that extension in the phone so when I click on that file my application should open or my application should show in the OpenWith Dialog box.
"*/*"
If I put the above value in the code then it prompts for every file type.
I have tried this vendor mime types by creating a public final class and declared all the values below it but that doesn't seem to be working for me.
Reference link for vendor mime types which I looked for: https://android.googlesource.com/platform/development/+/05523fb0b48280a5364908b00768ec71edb847a2/samples/NotePad?autodive=0
Can anyone help me in this? Or any sources so that I can achieve this?
Thanks in advance