[android] Direct device-to-device sharing of map files
Author: rtsisykCreated Jan 8, 2022Updated Sep 30, 2026
LabelsEnhancementAndroidRaw IdeaDownloader
Problem
I am hearing countless complaints that the maps directory is not accessible anymore. Unfortunately, we have some technical limitation on Android 11+. There is no convenient way to use the shared storaged anymore.
Solution
The typical use-case is to transfer maps files from device to another without having the Internet connection. For example, you have a map downloaded, but your fellow traveler doesn't. Instead of thinking about raw access to the private storage, we can implement direct device-to-device sharing.
The workflow is the following:
- Open the list of maps on your device
- Select one particular map or entire country
- Click "Share" button
- Android will show the system sharing dialog with multiple options
- On the second device, receive a file and open it via Organic Maps app
- The app will open the map file and import it into the private storage
The beatify of this approach is that users will have numerous options to exchange maps files:
- Bluetooth
- Nearby Share
- Quick Share
- Save as file
- Telegram
Plus it provides a convenient method to test custom/new maps.
CC: @biodranik @vng
Source: organicmaps/organicmaps