Commit Graph

44 Commits

Author SHA1 Message Date
map-per
26bad5dffb [editor] 'discard' and 'delete' buttons only available when nothing was uploaded to OSM
Signed-off-by: map-per <map-per@gmx.de>
2025-12-19 17:37:36 +01:00
NoelClick
2b630964d0 [android] Unify custom map server dialog logic and UI
- Add setting icon for custom map server download option.
- Extract shared custom map server dialog helper.
- Clean up based on reviewers' feedback.

Signed-off-by: NoelClick <dev@noel.click>
2025-12-18 09:41:55 +01:00
NoelClick
82d2932ba0 [android] Add validation for custom map download URL
- Add validation for custom map download URL.
- Re-enable advanced server button after failed or paused downloads.

Signed-off-by: NoelClick <dev@noel.click>
2025-12-18 09:41:55 +01:00
NoelClick
4ba0fc51a5 [android] Make it possible to set a custom map download URL
Signed-off-by: NoelClick <dev@noel.click>
2025-12-18 09:41:55 +01:00
map-per
8cffa508f3 [android] Use separate function to check for MapTooOldToEdit
Signed-off-by: map-per <map-per@gmx.de>
2025-12-17 21:07:12 +01:00
gekeleda
db888f33c5 [android] fix crash when no TTS engine
Signed-off-by: gekeleda <git@davidgekeler.eu>
2025-12-10 08:07:11 +00:00
gekeleda
1095e5dbc3 [android] Consider all system langs for TTS
Signed-off-by: gekeleda <git@davidgekeler.eu>
2025-12-08 15:55:49 +01:00
Jean-Baptiste
22d7cf3969 [android] Fix Android Studio warnings
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2025-11-29 10:29:38 +01:00
Jean-Baptiste
a5174623c2 [android] Remove unused preference value
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2025-11-28 08:31:27 +01:00
Séverin Lemaignan
6d0111b434 [android] add support for schuko/type-E charge sockets
The commit is slightly more complicated that expected because:

- it adds supports for both schuko and type-E, using the same icon (but
  maintaining the underlying type annotated in OSM)

- it adds logic to *not* display the power of schuko socket as 'unknown'
  when not provided in OSM, as it is 'implicit' (3.7kW in most
  countries)

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-11-26 19:31:18 +01:00
gekeleda
1d087ca854 [android] Add function to get all android system languages
Signed-off-by: gekeleda <git@davidgekeler.eu>
2025-11-25 11:17:05 +01:00
map-per
9bfebc2046 Add "Business is vacant"/'disused' option to editor (#526)
Signed-off-by: map-per <map-per@gmx.de>
Co-authored-by: map-per <map-per@gmx.de>
Co-committed-by: map-per <map-per@gmx.de>
2025-11-14 22:10:02 +01:00
x7z4w
90c12003bd [routing] Avoid paved roads
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
2025-11-09 12:21:24 +01:00
Isira Seneviratne
c727fd7f20 [android] Simplify TTS code using AudioManagerCompat
Signed-off-by: Isira Seneviratne <31027858+Isira-Seneviratne@users.noreply.github.com>
2025-10-23 09:54:16 +02:00
x7z4w
dd3b6faa42 [android] Add UI for avoiding steps
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
2025-10-13 20:07:31 +02:00
Séverin Lemaignan
d168855ef5 [android] add support for editing charging stations details
While here, uncluttered a little the charging station editor,
removing fields like the POI address which is basically irrelevant for
charging stations.

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-10-12 20:17:06 +02:00
Andrei Shkrob
707415a788 [android-auto] Fix activity recreation when [dis]connecting to car
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-10-11 14:07:21 +02:00
Andrei Shkrob
1947a32007 [android] Allow call to getHolder() in MapView
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-10-11 14:07:21 +02:00
Viktor Govako
e73c37a5dd [android] Improve AA route simulator.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-10-11 14:07:21 +02:00
Andrei Shkrob
9912d19302 [android] Get rid of MapFragment
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-10-11 14:07:21 +02:00
eisa01
e5b6d882bf [android] Fix Metadata IntRange
Discovered while debugging issue #2078

Signed-off-by: eisa01 <eisa01@gmail.com>
2025-10-08 19:59:10 +02:00
Séverin Lemaignan
a74ae0fa3a [android] display info about available sockets on charging stations
This commit includes SVG icons of the sockets that are currently
supported. This icons have been created for this specific occasion.

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-10-08 19:35:32 +02:00
Jean-Baptiste
431852f8cc [android] Fix crash on the place page
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2025-10-08 19:14:53 +02:00
map-per
efc8e44350 merge add place/business options
Signed-off-by: map-per <map-per@gmx.de>
2025-10-08 17:54:25 +02:00
Séverin Lemaignan
f8d786958a [generator] retrieve socket:* OSM tags used by amenity:charging_station
Currently support the following socket types:
- type 1
- type 1 combo
- type 2 (wired or wo/ cable)
- type 2 combo
- chademo
- nacs

This commit also adds initial display of the socket types and power
the to Qt desktop app.

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-09-18 22:09:52 +02:00
Jean-Baptiste
6c8f955689 [android] Fix Bluesky button not working
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2025-09-16 12:15:16 +02:00
Jean-Baptiste
ebb2d13047 [android] Reorganize socials networks on about screen
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2025-09-14 11:52:56 +02:00
Jean-Baptiste
bc8cc7bb41 [android] Fix warnings
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2025-09-11 09:54:02 +02:00
Andrei Shkrob
c014e224b2 [routing] New API for lanes
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-09-05 20:35:15 +02:00
Harry Bond
a338a18590 [android] Explain why the TTS button doesn't work when no engine installed
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-08-27 17:55:03 +02:00
Harry Bond
47936df79c [android] Rebase fixes for Add support for check_date & check_date:opening_hours
Following from https://codeberg.org/comaps/comaps/pulls/1572
Also add script for easy transfer of strings across modules

Signed-off-by: Harry Bond <me@hbond.xyz>
2025-08-26 09:42:08 +02:00
Harry Bond
73238a6e3c [android] increase location update freq from 1s to 0.5s, don't take 3s to update when not following position
supersedes #1022
I don't think there's much point in mode-dependent update frequencies, AFAIK it's from earlier maps.me days when phones were weaker.

Signed-off-by: Harry Bond <me@hbond.xyz>
2025-08-26 09:34:31 +02:00
Harry Bond
08abddc7fc [android] Add support for check_date & check_date:opening_hours
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-08-24 16:58:56 +00:00
Konstantin Pastbin
008387b0cf [android] Reformat code with clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-24 21:58:44 +07:00
Konstantin Pastbin
3e9b507acd [android][sdk] Move transport type drawables to SDK
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-24 21:58:44 +07:00
Konstantin Pastbin
c9a261dee5 [android][sdk] Move OhState to SDK
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-24 21:58:44 +07:00
Andrei Shkrob
802f54494a [android][sdk] Fix location provider
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-08-24 21:56:52 +07:00
Andrei Shkrob
d4863643f7 [android][sdk] Fix MapManager
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-08-24 21:56:52 +07:00
Andrei Shkrob
431e305a48 [android][sdk] Move getDonateUrl outside sdk
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-08-24 21:56:52 +07:00
Andrei Shkrob
d3c64a262b [android][sdk] Move PrefsManager call outside sdk
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-08-24 21:56:52 +07:00
Andrei Shkrob
abcc95710d [android][sdk] Replace app.organicmaps.R with app.organicmaps.sdk.R
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-08-24 21:56:52 +07:00
Andrei Shkrob
3a90f9783d [android][sdk] Add build config to sdk module
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-08-24 21:56:52 +07:00
Andrei Shkrob
dc8d4e7da9 [android][sdk] add missing dependencies
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-08-24 21:56:52 +07:00
Andrei Shkrob
6a85526ac9 [android][sdk] Move java files into sdk module
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-08-24 21:56:51 +07:00