I have a file format I wish to support, it's just a zip but I've renamed it .amg so my app can read it.
On my samsung phone with gingerbread it works fine and it opens.
On my motorola phone with kitkat all I get is can not open it.
I've tried various solutions found here but none seem to work.
Typically I copy the file into the download folder on the phone and click the file.
The only thing that works on kitkat is if I open the file using Astro File Manager, but I can't force that app on people. So what's wrong that makes Astro work but nothing else?
<activity
android:name="com.test.StartupActivity"
android:label="@string/app_name"
android:theme="@style/backdropTheme" >
<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" />
<data android:host="*" />
<data android:mimeType="*/*" />
<data android:scheme="file" />
<data android:pathPattern=".*\\.amg" />
</intent-filter>
</activity>
** [EDIT] ****** If I use Astro file manager in kitkat it seems to work. So Astro works, the three other ones I've tried including built in one doesn't but with gingerbread it always works.
However, on my kitkat when I try and open the file I get the following exception: invalid stored block lengths.