You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser dialogue that allows to upload .gpx, .fit, .tcx or .gz files
Click "Choose File" -> opens File Manager
Navigate to the existing .gpx file
.gpx file is greyed out, the line below states it is a BIN file, file size seems reasonable
Expected behavior
The .gpx file is identified correctly and it is possible to upload it through a dialogue, that limits the upload through the file type.
Actual behavior
The file is greyed out and I'm not able to choose it for upload.
Screenshots/Screen recordings
No response
Additional information
I was able to upload the same gpx file from my laptop, so the file shouldn't be the problem. A .fit file in the same folder is identified correctly and it is possible to upload that file from my phone. The .fit file is recognized as "FITS image", where it states "BIN" for the .gpx file.
Okay, the restriction itself seems a bit weird. While using the duckduckgo browser it is greyed out and recognized as BIN. On the other hand, using chrome as browser, the file still is recognized as BIN, but I'm able to upload the file.
I looked into this, and I think the dialog in the report may be Android's system file picker rather than Fossify File Manager:
When Fossify File Manager is used as the picker, files that don't match the requested type aren't shown greyed out; ItemsFragment.getListItemsFromFileDirItems() leaves them out of the list entirely.
A greyed-out file with a type label like "BIN" or "FITS image" is how the system picker (the "Files" UI) shows a non-matching file. Those labels come from Android's own MIME table: "BIN" means .gpx isn't known there and falls back to application/octet-stream, and .fit is mapped to image/fits ("FITS image").
That would also explain the browser difference: if DuckDuckGo turns accept=".gpx,.fit,…" into specific MIME types, the .gpx file (octet-stream) doesn't match but .fit does, while Chrome may simply be asking for */*, which lets everything through.
@morigawa, could you check which app the "Choose File" dialog is? A screenshot would help. If it's the system picker, this would need a fix in the browser or in Android's MIME table rather than here.
Separately, Fossify's own picker has a related gap: getMimeType() in Commons has no entry for gpx (or tcx/fit), so if an app requests application/gpx+xml from Fossify File Manager, .gpx files would be hidden. I'm happy to add those mappings if that's useful.
Activity
morigawa commentedon May 24, 2026
Okay, the restriction itself seems a bit weird. While using the duckduckgo browser it is greyed out and recognized as BIN. On the other hand, using chrome as browser, the file still is recognized as BIN, but I'm able to upload the file.
PedroFlores199 commentedon Nov 27, 2026
I looked into this, and I think the dialog in the report may be Android's system file picker rather than Fossify File Manager:
ItemsFragment.getListItemsFromFileDirItems()leaves them out of the list entirely..gpxisn't known there and falls back toapplication/octet-stream, and.fitis mapped toimage/fits("FITS image").That would also explain the browser difference: if DuckDuckGo turns
accept=".gpx,.fit,…"into specific MIME types, the.gpxfile (octet-stream) doesn't match but.fitdoes, while Chrome may simply be asking for*/*, which lets everything through.@morigawa, could you check which app the "Choose File" dialog is? A screenshot would help. If it's the system picker, this would need a fix in the browser or in Android's MIME table rather than here.
Separately, Fossify's own picker has a related gap:
getMimeType()in Commons has no entry forgpx(ortcx/fit), so if an app requestsapplication/gpx+xmlfrom Fossify File Manager,.gpxfiles would be hidden. I'm happy to add those mappings if that's useful.