Implement support for Android Auto#3993
Conversation
Fixes openhab#3041 Signed-off-by: Danny Baumann <dannybaumann@web.de>
|
Implementation comments:
I'm open for improvement suggestions about
I've also thought about using
Once this is accepted, we probably need a release on the beta track in Play Store, since sideloaded apps don't appear in the AA launcher. |
|
Open issue I don't have a good idea for yet: Loading a different sitemap (e.g. after a server change) also counts against the 5 step limit documented here. This means that after moving back and forth a few times, the app will consume more than 5 steps and crash. This problem is worsened by sitemap selection screen (which counts as a separate step each time), but even if we'd do the sitemap selection on the phone the problem is there and just takes a few toggles more to appear. One option to remedy this may be to not listen for server changes, so that after changing servers one needs to reconnect to AA to reflect the change in the AA app. Not sure if this is acceptable? |
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Maybe disable loading a different sitemap when moving? https://source.android.com/docs/automotive/driver_distraction/consume#DrivingState |
From my understanding,
Given all of those, I think we need to design our UX for the 5 step limit, no matter if parked or not. |
|
We could:
That way we shouldn't hit the limit, but no sub-pages might be an issue for some people. |
Fixes #3041