abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
476 stars 115 forks source link

Simplification of the BRouter connection #585

Open devemux86 opened 1 year ago

devemux86 commented 1 year ago

When we make a new install of BRouter, we must first start BRouter once to select its data base dir.

Then we can call it from other apps, download BRouter routing data and make route calculations. Otherwise BRouter crashes if it has not created its dir structure in /media/ folder.

Is it possible that when we call BRouter externally, then BRouter automatically initializes its dir structure? So there is no crash from using it and users don't get confused that they have to open it and select a dir.

Originally reported in https://github.com/devemux86/cruiser/discussions/238.