I have an app that sends files with custom file extensions via email that are essentially just encrypted xml files. My app has an intent filter to open these, and it works on my particular phone (Samsung Galazy S Mesmerize), but when I try to open an attachment with my custom file extension on some other phones (Electrify, Thunderbolt, etc) it says there isn't anything that can open that file. (BTW the phones that are trying DO have my app installed).
Here is my intent-filter:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\\.tgtp" />
<data android:host="*" />
</intent-filter>
Is there anything I can do to ensure that all android phones will be able to open my custom file extension when they have my app installed?
Thanks