I want my application to run when clicking on a file with the extension "gvx". But I don't know what steps are involved for that. As far as I know, I have to add in the android manifest a new intent filter containing VIEW action on the activity I want to use (can be the main activity or not).
I finally wrote this.:
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.ALTERNATIVE_SELECTED" />
<data android:mimeType="vnd.android.cursor.item/gvmfile" />
The point is I don't understand the mimeType part, how can I explicitly say that only ".gvx" corresponds to a given. What are the right steps to do?