osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.64k stars 1.01k forks source link

[Feature Request] Android Auto connection or "OK Google" in OsmAnd #3391

Closed stefanodroghetti closed 2 years ago

stefanodroghetti commented 7 years ago

It would be very nice if Osmand could be used inside "Android Auto" application instead of Google Maps. Or, at least, that "ok google" could be used during Osmand navigation, to call someone via bluetooth or anything else.

EugeneZmeuk commented 3 years ago

The first test version allows showing OsmAnd map in the auto screen. Next week we will have more functions and you can test it. The general, we wait for feedback and bugs :) from you. Thank you for your participation.

EugeneZmeuk commented 3 years ago

Testers can join us the test on the web: https://play.google.com/apps/internaltest/4700221263793010334

bbigras commented 3 years ago

I just tested the navigation for the first time.

I think my phone's screen must remain on, otherwise the car's unit doesn't update my position. Well I think the blue line might be updated but not the position arrow.

Is the zoom based on the current speed?

EugeneZmeuk commented 3 years ago

Something like that: image

abw8353 commented 3 years ago

"Is the zoom based on the current speed?"

Yes -- "Auto Zoom" can be set in the navigation menu on the phone, waaaaaaaaaaaaaaay down at the bottom

wow, was that irritating until I got it stomped and buried - I knew it was called "auto zoom" (automatic,I believe, not automobilic), but couldn't remember where to find it in settings)

Am Fr., 27. Aug. 2021 um 14:34 Uhr schrieb Bruno Bigras < @.***>:

I just tested the navigation for the first time.

I think my phone's screen must remain on, otherwise the car's unit doesn't update my position. Well I think the blue line might be updated but not the position arrow.

Is the zoom based on the current speed?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/osmandapp/OsmAnd/issues/3391#issuecomment-907488577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVRWBKAKTM42ULTCPHWBVTT7AAE5ANCNFSM4C3PJPBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Pastim commented 3 years ago

I've done a short test. It connects correctly and displays OK on my car display. As bbigras said I have to leave the screen on for the current position to be shown. I only had time for a quick drive round the block (not a planned route), but all OK so far.

malkavi commented 3 years ago

I tried to open from AA interface and I had a black screen, with the upper bar only.

mlitvinenko commented 3 years ago

Tried today in two modes. 1) Just in AA w/o the navigation to some destination. So far so good. Of course keeping the phone's screen on is annoying, but I belieive on an early stage of beta this is more than ok and will be fixed on a later builds

2) While being in AA mode with navigation I found that yellow arrow of the turns is blinking. See screenshot (random example from the internet)

Screenshot 2021-08-29 at 09 27 54

Head unit is Kia Stonic 2021

alex-osm commented 3 years ago

I tried to open from AA interface and I had a black screen, with the upper bar only.

As for now you need to start OsmAnd app on phone before launching on AA. Then you may lock a phone and map should be displayed on AA.

Tried today in two modes.

  1. Just in AA w/o the navigation to some destination. So far so good. Of course keeping the phone's screen on is annoying, but I belieive on an early stage of beta this is more than ok and will be fixed on a later builds
  2. While being in AA mode with navigation I found that yellow arrow of the turns is blinking. See screenshot (random example from the internet)

1 - You not need to keep phone's screen on. If so - it might be a bug and will be fixed soon. 2 - Known issue.

alex-osm commented 3 years ago

I've done a short test. It connects correctly and displays OK on my car display. As bbigras said I have to leave the screen on for the current position to be shown. I only had time for a quick drive round the block (not a planned route), but all OK so far.

Showing current position while phone is locked will be fixed. Thank you.

Schrott300772 commented 3 years ago

I have the same problem and I cannot move the data from one folder to the other

argrento commented 3 years ago

Just tested AA behavior. The initial zoom level is quite big, but no house numbers. Also day/night change do not work. IMG_20210829_153133_041

For some reason, after navigation starts, houses disappear and never shown again (need to recheck this). IMG_20210829_153135_763

Highlighted route is super thick. IMG_20210829_153138_543

Also found a strange bug, when OsmAnd displays map on a car screen, and then back on phone, than again on car screen. I see this only once and was not able to record the screen.

nereocystis commented 3 years ago

It's wonderful to test this out, on a very short drive near home. (Kia Niro).

While I suspect that I have a lot of these issues, I was so impressed at seeing a non-google map, that I didn't check for bugs.

On 8/29/21 5:36 AM, Kirill Snezhko wrote:

Just tested AA behavior. The initial zoom level is quite big, but no house numbers. IMG_20210829_153133_041 https://user-images.githubusercontent.com/4477094/131250443-861885aa-fff2-4849-b5c2-4501d805f894.jpg

For some reason, after navigation starts, houses disappear and never shown again (need to recheck this). IMG_20210829_153135_763 https://user-images.githubusercontent.com/4477094/131250463-ef187dc9-7868-4ccc-9916-f55c3a6d1f21.jpg

Highlighted route is super thick. IMG_20210829_153138_543 https://user-images.githubusercontent.com/4477094/131250485-b7612949-e810-4bf6-a467-7690bb07a9a9.jpg

Also found a strange bug, when OsmAnd displays map on a car screen, and then back on phone, than again on car screen. I see this only once and was not able to record the screen.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/osmandapp/OsmAnd/issues/3391#issuecomment-907784654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARHBU3L2XXTAUTFQ22HLLTT7ISTPANCNFSM4C3PJPBA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

argrento commented 3 years ago

Checked one more time. Night mode works, houses numbers works as well. IMG_20210829_233950_739.jpg

On the screenshot above light green is the route line.

Screenshot_20210829-221659.png This is how the night mode works on a screen. Everything is dark, but the map area is pure white.

One more bug. When a route is started, the route button on the phone screen is disappeared. The only way to restore it — hide the map on the car screen by pressing the settings button (with gear).

danrgb commented 3 years ago

My first impressions:

Osmand started up fine on Android Auto. The icons looked too big: a cluster of favourite location stars drowned out the display at one point. Zoom in and out worked. Recording tracks was fine, however the screen never updated its position, so I was looking at the same map throughout the drive. I couldn't scroll the map around using my fingers (maybe not implemented yet?)

Anyway, congratulations on this first implementation.

MrAdam commented 3 years ago

Thank you so much for your work so far, really looking forward to see where this will go.

I do have some feedback as well:

Pastim commented 3 years ago

I've just done a navigation test. All works really well. It's quite usable as it stands for me.

Routes work, and at different zoom level settings, although as has been said above, the blue line is rather wide. Audio works, and once I found the setting, suspends the car radio when announcing.

I'm slightly baffled by the comment above about house numbers. I've never seen them on OSMAND. There are, how can I put this, rather a lot of settings, and maybe that's one I've missed.

Good stuff.

argrento commented 3 years ago

the blue line is rather wide

You can edit this in Route Options -> Customize route line

Pastim commented 3 years ago

the blue line is rather wide

You can edit this in Route Options -> Customize route line Thanks. It was on default - Bold.

clawoflight commented 3 years ago

the blue line is rather wide

You can edit this in Route Options -> Customize route line Thanks. It was on default - Bold.

Where is this configuration? I cannot find it.

argrento commented 3 years ago

the blue line is rather wide

You can edit this in Route Options -> Customize route line Thanks. It was on default - Bold.

Where is this configuration? I cannot find it.

Press the route button on a phone (you can do it only if the map is not displayed on the car screen). Then chose 'Options' under the destination selector. 'Customize route line' is in the bottom of the options list.

abw8353 commented 3 years ago

I have Pixel 3a and Samsung SM-T515 both working mostly fine with different map sources and different map styles for offline, and with overlays, contours, and terrain (I almost always have maps up on the Honda factory in-dash, for situational awareness and to delight my soul; terrain is a must -- other landmarks change too much over the decades).

Really odd behavior sometimes: https://photos.app.goo.gl/z2z9CHpwn78prfFS9 (large video file) , and always many screen redraws while driving: first the overlay draws a few lines on white screen, then basemap redraws under that, repeating more or less frequently.

The map is now displaying on the dash display without having OsmAnd on the device, though going to the device for a lot of tasks is still necessary (also true for Gaia GPS, and others). The thing I am missing most at this point is the Quick Action button and menu - that may need to be "car in park" only, surely a lower implementation priority for developers.

argrento commented 3 years ago

Really odd behavior sometimes

This is the bug I faced too.

dmacal commented 3 years ago

Just did a first very short test some 15kms (galaxys9 on an Alfa Romeo Giulia) The app is dispalyed on the car screen regardless the phone is with locked screen or not, but it won't update the position if the phone screen is locked. That seemed to be really the only hiccup I've experienced. Shall share further details while i keep on using it but for now seems to me already a very usable tool, way better than where gaia gps stands at the moment :)

thewafflehouse commented 3 years ago

Yep. This was my issue. If I wanted to do anything, Osman's on phone had to be live and in the foreground. Works great otherwise.

On Tue, Aug 31, 2021, 7:29 AM dmacal @.***> wrote:

Just did a first very short test some 15kms (galaxys9 on an Alfa Romeo Giulia) The app is dispalyed on the car screen regardless the phone is with locked screen or not, but it won't update the position if the phone screen is locked. That seemed to be really the only hiccup I've experienced. Shall share further details while i keep on using it but for now seems to me already a very usable tool, way better than where gaia gps stands at the moment :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/osmandapp/OsmAnd/issues/3391#issuecomment-909149766, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVH7DY3GCWZWTMYBXK5GMLT7S4IBANCNFSM4C3PJPBA .

danrgb commented 3 years ago

Recording tracks was fine, however the screen never updated its position, so I was looking at the same map throughout the drive.

Just a a follow up, I can now get the screen to update its position by ensuring the option:

Settings / Driving profile / Navigation settings / Map during navigation / Auto-centre map view

is set to 5 seconds (I previously had it set to never).

And, as others have said, I need to keep the phone's screen on as well. It's already looking quite usable now :-)

DelusionalLogic commented 3 years ago

It's really quite good. It's totally usable, but i did find a few issues.

1) Panning currently doesn't seem to work with Mazda HMI commander. 2) I'm also getting some occasional flashing between the navigation and some other map view. 3) During navigation it looks like the map prefers to face in the direction of navigation instead of the direction of travel.

In minor stuff: The arrow seems a little large on my screen.

memascii commented 3 years ago

Finally got around to a short test yesterday (Opel Corsa E 2017). Agree with comment above, seemed to work quite well once I started the navigation on the phone. The head of the arrow was blinking sometimes. Zooming with +/- button works but not panning.

memascii commented 3 years ago

What is the expected final feature set? Will all features available on the phone be available via android auto? I'm guessing not. Are there any particular areas which need testing?

And thanks! Wasn't expecting this when I bought the car a few weeks ago.

nereocystis commented 3 years ago

I tried it on Kia Niro

The map frequently freezes during navigation. To unfreeze it, I disconnected phone, killed osmand, reconnected and moved on.

The map did point in the direction of travel, after I turned on that selection.

Ph-We commented 3 years ago

Would someone please test whether it supports raster maps in AA? Thanks!

abw8353 commented 3 years ago

Yes, it does support online (raster) maps.

I have Open Railway Map as an overlay map almost always, and have played with Open Topo Map (raster; I generally prefer the Topo style with the offline vector map). I have also used OSM FR. I think maybe I tried Microsoft Hybrid, but I'm not sure.

I've tended to go to Gaia GPS when I wanted raster sources - they have more options, such as weather, wildfires & smoke, cellular coverage.

Am Mi., 8. Sept. 2021 um 11:20 Uhr schrieb Ph-We @.***>:

Would someone please test whether it supports raster maps in AA? Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/osmandapp/OsmAnd/issues/3391#issuecomment-915465962, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVRWBKCNHUCTAUQDW2GRMDUA6SPDANCNFSM4C3PJPBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

EugeneZmeuk commented 3 years ago

Hi everybody, Testing is paused until 16 or 17 September. Today we tried to release the new version with widgets, but something is wrong :(

image

nereocystis commented 3 years ago

On a few additional tests, I did not experience freezing, on the Kia Niro

On 9/14/21 12:23 PM, Eugene Kizevich wrote:

Hi everybody, Testing is paused until 16 or 17 September. Today we tried to release the new version with widgets, but something is wrong :(

image https://user-images.githubusercontent.com/44466116/133320923-2ac5e57e-ee25-4d81-9fb9-8f6a9eec22a0.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/osmandapp/OsmAnd/issues/3391#issuecomment-919448286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARHBUYSBAFXN2D5A7ISJ4LUB6OM3ANCNFSM4C3PJPBA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

EugeneZmeuk commented 3 years ago

I opened the testing again and added the new release. image image

Pastim commented 3 years ago

I am sure it's obvious to most users, but I don't know exactly what you mean by "widgets", so don't know what you want people to test. I see lots of things on the screen shots, but don't recall what was there before the update, and what was not.

argrento commented 3 years ago

Tested new build.

mrvanes commented 3 years ago

Tested the second beta on a short drive today. It was a fresh non-plus install so I hadn't configured the auto map to follow direction, once I did that it was nearly perfect. I'm not sure if it was because I was driving without route, but touching the screen to zoom out (which is not allowed while driving, makes sense) the follow direction of driving was lost and the map was north up again.

Other than that, great to have OsmAnd on the car dashboard!

bbigras commented 3 years ago

but touching the screen to zoom out (which is not allowed while driving, makes sense)

Maybe it's not implemented yet.

Google maps allows zooming and panning while driving, and it's really useful.

alex-osm commented 3 years ago

The new version of the OsmAnd (4.1.2) has following changes related to AA:

nereocystis commented 3 years ago

This is great.

Is there an option to put speed limit on screen?

I may have missed it.

I also have to figure out how to get it to use my osmand~ settings and maps

On 9/16/21 8:35 AM, alex-osm wrote:

The new version of the OsmAnd (4.1.2) has following changes related to AA:

  • Fixed location update in background
  • Fixed black map when OsmAnd started first time from AA
  • Fixed map panning issue
  • Added route information to the AA screen and to the car HUD (turn arrow, distance, time to go)
  • Added alert widget to top right corner of AA screen (Speed limit, tunnels, etc...)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/osmandapp/OsmAnd/issues/3391#issuecomment-921010025, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARHBU3W4FEHVSBWNVPFRQDUCIFC5ANCNFSM4C3PJPBA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Ph-We commented 3 years ago

Maybe it's not implemented yet.

Google maps allows zooming and panning while driving, and it's really useful.

AFAIK, Google made it available for third-party developers just 1-2 weeks ago. So I hope the OsmAnd developers know that. Since it is not quite safe to search and hit those "-" / "+" buttons while driving.

alex-osm commented 3 years ago

Panning is already implemented and should work. However multitouch is unavailable now. So zoom in/out could be done using "+" / "-"buttons at the right side of screen.

DelusionalLogic commented 3 years ago

Google maps presents a slider when zooming. The slider gets focus when you hit the zoom button and can then be controlled with a knob. That works really well for cars that disable the touchscreen during driving and cars that have a knob.

As a person with a car that fits that description exactly, I'd love to see that interaction here.

I'll test the new beta and the pan (which previously didn't work in my car) tomorrow on my drive to work

argrento commented 3 years ago

IMG_20210916_221515_977.jpg

I also set:

On the car screen it looks good, but on the phone looks very small.

kashortiexda commented 3 years ago

Getting app crash when trying to select Map Source in Configure Map

Paul Hurst

On Wed, 15 Sep 2021, 20:48 Eugene Kizevich, @.***> wrote:

I opened the testing again and added the new release. [image: image] https://user-images.githubusercontent.com/44466116/133491662-a08fe161-d00e-4c9b-a961-7da1d1eaa014.png [image: image] https://user-images.githubusercontent.com/44466116/133491689-4b19bb79-8951-4522-8c09-1cd14acbdfa7.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/osmandapp/OsmAnd/issues/3391#issuecomment-920289810, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5D4VRFNLQJNXU3XUESZSTUCDTAXANCNFSM4C3PJPBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

alex-osm commented 3 years ago

@DelusionalLogic Did not see slider yet. BTW - Google Maps has own controls which much differs from those from API proposed for developers. We have 4 buttons at right side and 4 at top-right side of screen at least for now.

@kashortiexda Thanks. Will be fixed.

DelusionalLogic commented 3 years ago

@DelusionalLogic Did not see slider yet. BTW - Google Maps has own controls which much differs from those from API proposed for developers. We have 4 buttons at right side and 4 at top-right side of screen at least for now.

That's a shame. At least there's some hope that it will trickle down to 3rd party apps at some point.

I just had it for a test run. The pan seemed spotty. I'm convinced it worked in my driveway, but during the drive pan mode didn't do anything. I can also confirm the wonky .5 meter behavior @argrento noted.

Other than that the app worked beautifully. The display works even when hiding the app on my phone. The map zooms dynamically. If i miss a turn it accurately reroutes and displays the new route without a hiccup. You can even start a new navigation from the phone while connected to the car (something google maps can't do) and the directions start immediately. Closing the app and opening it again in android auto also works as expected, just like switching apps (between osmand and spotify). I tried routing by a path, and that worked great as well.

Searching with voice assistant pops up placeholder search results. I'm guessing that's left in the ToDo column for now, but i thought i would mention it.

Good job guys. This is looking very usable.

maxolasersquad commented 3 years ago

I sent an email requesting access to the beta app but have not got a response. Is new access still being accepted?

mnalis commented 3 years ago

@maxolasersquad note that you should be able to download nightly if you want to test that feature: https://download.osmand.net/latest-night-build/OsmAnd-android-full.apk