Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Module for smartwatches display #18502 #21425

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

RomaricKc1
Copy link

From #18502, I decided to make the app usable for wear os devices.

I've been stalling quite a bit, the project is quite big and I don't have a lot of exp in android dev but here it is.

A heads-up: There's a tons of changes add/edit. Mostly adds. See, I think it's possible to have a separate res files when targeting wear os devices, but I went the easiest way. A new module called OsmAndWear.

This is not a bait. I known there's 6,316 files changed but
It's basically a clone of the OsmAnd from 54f673d, with the res folder edited.
One can use some diff tool to check that.

Of course, this doesn't fix all the layout. I am sure there are some ui stuff that aren't usable on the watches yet. I believe this pr is the right way to go, in order to make the dev more easier once it's in the pipeline. Having all the src files and stuff, to only focus on res.
Again, I am not sure that the new module is necessary, maybe it can be done without copying almost line by line the other src etc. from the main OsmAnd.

Also, an important thing: I had disabled swipe to dismiss in my previous test, to make it easier to navigate on the map. But using the same directives in the theme values>styles.xml in the current state of the app doesn't work. I have "duplicated res error".

That being said, can't wait to hear from you whether this is a welcome change or not.
Thanks

RomaricKc and others added 7 commits November 24, 2023 11:39
…vices

This performs some ui changes from the various layouts in the res/
folder in order for it to be usable on wear Os devices.
There's a bunch of edits, and the project grows fast.
Tested on 'wear os large' Android Studio
@vshcherb vshcherb marked this pull request as draft November 27, 2024 10:55
@vshcherb
Copy link
Member

Many thanks for pushing smartwatch display forward.

Though we can't merge this pull request as is. We need to investigate whether we need to create common library or incorporate changes in OsmAnd. We plan to do it in Q4 2024 - Q1 2025.

@RomaricKc1
Copy link
Author

Thank you for the update!

Looking forward for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants