Android App reloaded

35 views
Skip to first unread message

A. Fischer

unread,
Jun 21, 2021, 10:01:02 AM6/21/21
to OSM Android bikerouting
The Android app seems a little bit outdated.
I don't think there is much to do, so I'd like to discuss the changes for an update.


Android 11
Issue 244 and other
The new storage rule says use your own space to have free file access or work with the new DocumentFile class.
But own space in .../Android/data/... is no longer visible for others.
And we can't see data space from other apps as well.

One way to live with that rules seems an use of the media path
.../Android/media/btools.routing/
Here we have random file access and it is visible for other apps.

That also means the rules for the CoordinateReader should change.
E.g. a folder '/Android/media/btoos.routing/income' could be open for all apps to write there gpx into it.
No grep on special app folders as before.


New app icon - I can't find the discussion on that


Issue 246
Export file or direct output json


Issue 306
Update all tiles


Switch to server logic like input:
- parameter coordinate to 'lonlats', keep old parameter
- enable nogos, polylines, polygons
- enable pois
- other parameters


Update lookup table logic
One of the reason the Android app is outdated is the fixed lookup table.
What about an update function based on the lookup version tags?
E.g. when download rd5 file and it has a new version number, load also a new lookups.dat.
As well as new profiles.
Or: an update file that contains the updatable profiles,
e.g. we have a new tag 'highway=electro-only', we only need to update only the car profile.
Or: update on different file size

Maybe I've forgot something that could change.


I could do all this changes but I have a problem to compile the app with the current maven tool chain.

So my favorite is the switch to gradle first as posted in issue 243

A. Fischer

unread,
Jun 22, 2021, 6:31:02 AM6/22/21
to OSM Android bikerouting
I forgot some issues that I'd like to add:

Issue 301
foot maxspeed hardcoded
Not a direct Android app issue.
It affects the StdPath class which enables speed handling only for foot or bike. I'l like to enable others as well.


Issue 286
Black screen when swiping up or down


Issue 271
Download manager
I can't follow this error message on my Android 11 hardware but may be @gammeredith can help with testing a new version.

Issue 227
Download Manager - not running in background
A good idea to get a handy app.

Reply all
Reply to author
Forward
0 new messages