I want csv files to be opended by my app on android. I put in the following code into my AndroidManifest, but nothing happens when I install it on my Android simulator or my phone and try to open a .csv file from my storage space.
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<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="*/*" />
<data android:pathPattern=".*\\.csv" />
<data android:host="*" />
</intent-filter>
- What am I missing that stops me from opening .csv files from my phone?
- How do I pass the file url to my app so it knows where to access it?