Discussion:
Access to Garmin Descent MK1 USB storage on Android
Wojciech Więckowski
2018-09-12 22:31:10 UTC
Permalink
Hi,

I wonder if it's possible to provide folder selector dialog in Subsurface
Mobile to access Garmin FIT files when OTG cable connection is used.

MK1 storage is mounted automatically by the system and FIT files are
accessible from Android file manager.

From Subsurface I can set vendor + model using two combos but "Connection"
combo shows only FTDI option and a lot of MAC addresses.
It would be nice to have at least a possibility to enter raw mount path
which in my case is:
/storage/DC51-1EC5

I assume that Garmin parser works also on phones but probably hasn't been
tested yet.
--
Wojciech
Dirk Hohndel
2018-09-12 22:56:22 UTC
Permalink
I wonder if it's possible to provide folder selector dialog in Subsurface Mobile to access Garmin FIT files when OTG cable connection is used.
MK1 storage is mounted automatically by the system and FIT files are accessible from Android file manager.
I have thought about this but then got distracted. I don't know which permissions Subsurface-mobile on Android would need to get access to mounted filesystems and if we could get an Intent that tells us where the Descent is mounted - but this certainly seems doable. I just don't think I'll have time to look into this any time soon.
From Subsurface I can set vendor + model using two combos but "Connection" combo shows only FTDI option and a lot of MAC addresses.
/storage/DC51-1EC5
I assume that Garmin parser works also on phones but probably hasn't been tested yet.
I am sure that this would work

/D
Wojciech Więckowski
2018-09-12 23:56:37 UTC
Permalink
Post by Dirk Hohndel
I have thought about this but then got distracted. I don't know which
permissions Subsurface-mobile on Android would need to get access to
mounted filesystems and if we could get an Intent that tells us where the
Descent is mounted
Probably getting mount path is relatively easy as access to /proc/mounts
shouldn't be restricted by android and only vfat volumes are possible
storage candidates. Reading files from the removable storage will need all
the platform-specific stuff.

Loading...