Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Android Firefox won't open files with my app if a mime-type intent-filter is specified

more options

I'm writing an app that opens music notation files. In my app I specify this data-entry intent-filter which allows downloaded files from the Chrome or Android browsers to open the file with my app:

<data android:scheme="content" android:mimeType="*/*" android:pathPattern=".*\\.mcmidi" />

but Android Firefox does not. However if I specify just this: <data android:scheme="file" android:pathPattern=".*\\.mcmidi" />

then Firefox will open the file with my app from it's downloads screen.

The problem is, if I try to use both then firefox fails, and will not open my file. In fact I can't find any combination of intent filter entries that will work for firefox and other apps. It's either firefox only and it breaks everywhere else, or everything else works and firefox doesn't.

Can you tell me if this is a firefox bug, and if so is there a workaround?

I'm writing an app that opens music notation files. In my app I specify this data-entry intent-filter which allows downloaded files from the Chrome or Android browsers to open the file with my app: <data android:scheme="content" android:mimeType="*/*" android:pathPattern=".*\\.mcmidi" /> but Android Firefox does not. However if I specify just this: <data android:scheme="file" android:pathPattern=".*\\.mcmidi" /> then Firefox will open the file with my app from it's downloads screen. The problem is, if I try to use both then firefox fails, and will not open my file. In fact I can't find any combination of intent filter entries that will work for firefox and other apps. It's either firefox only and it breaks everywhere else, or everything else works and firefox doesn't. Can you tell me if this is a firefox bug, and if so is there a workaround?

Alle antwurden (1)

more options

Damon: dev questions are best asked on irc.mozilla.org #mobile, or in this case by filing a bug on http://bugzilla.mozilla.org in Firefox for Android :: General. Feel free to CC me.

If it's an issue with Firefox, that'll help.

Please also give this a shot with Firefox Nightly; that'll help determine whether it's something that's been fixed between Firefox 28 and Firefox 31.

Thanks!