Giter VIP home page Giter VIP logo

Comments (50)

skyforcetw avatar skyforcetw commented on September 23, 2024 1

I can clone same issue now, it should be occurs at Android 6.0 only.

oh.. any chances you can fix this?

Yes, give me some time.

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024 1

by the way, i get a lot of “Notify parsing failed” errors in Debug window.

4A984D05-7EDE-4469-89ED-8F67940F559D

I thnik....... There should be some bug for parsing on android 6.0 ...
Give me some time to resolve.

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024 1

I find the problem: the arrow v2 recognize mechanism is not work at android 6.0.
Give me some time to resolve it.

from garminuino.

seriojel avatar seriojel commented on September 23, 2024 1

that’s exactly what i thought, to test out on another android. at the moment found one, but again with android 6 and it even don’t have the Notifications Capture on so no good again.
will try borrowing an android 8 or upper from friends and report back with the status.

THANK YOU once more for trying to help me out, appreciate this!

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024 1

OK. But I will fix arrow bug first.

arrows now, in 0.8.5, work as expected.

Really! Good news!

from garminuino.

seriojel avatar seriojel commented on September 23, 2024 1

@skyforcetw yeah, it works good for a couple of minutes (although i can’t say if speed is working for sure) and then Parsing failing. and after a while again it’s good and then failing. this behavior again and again.

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

It looks like notification from navigation is parsing failed.
Could you provide some notification pictures?

Likes this:
Screenshot_20210812-174515_Maps

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

sure, let me know if you need anything else.

B31DABA1-1332-4976-A65D-4DC1775101FB

5F635AFB-0FB8-4944-AAC3-54E2E1E20AB7

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

What language do you set on android phone?
And what is your departure and destination?
I want to use your condition to test app.

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

Language: English (Unitated States)
Departure: strada Lev Tolstoi 24/1, Chisinau, Moldova
Destination: Dacia 29, Chisinau, Moldova

my feeling is the arrows on my phone are "thinner" than yours, but i can be wrong

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

oh, Android 6 if that matters.

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw if you need any additional details, please ask.

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

I can clone same issue now, it should be occurs at Android 6.0 only.

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

I can clone same issue now, it should be occurs at Android 6.0 only.

oh.. any chances you can fix this?

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

pls try this version for experiment.

gmaps_hud-release_v0.8.4.zip

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

pls try this version for experiment.
gmaps_hud-release_v0.8.4.zip

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw thanks for quick response!
Tried the new version, all I get onto the HUD is "OK" text and again no navigation.
Moreover, now

  1. the Button 1-3 in Debug screen do nothing (in 0.8.3 they worked)
  2. “Notifications capture” is not enabled

IMG_20210815_205758

IMG_20210815_210348

IMG_20210815_210424

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

@skyforcetw thanks for quick response!
Tried the new version, all I get onto the HUD is "OK" text and again no navigation.
Moreover, now

  1. the Button 1-3 in Debug screen do nothing (in 0.8.3 they worked)
  2. “Notifications capture” is not enabled

It's weird, I didn't modify the blue-tooth part of 0.8.4.
Debug button 1-3 should be work.
Could you remove garminuino and reboot, then install app after boot ?

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw it's alive!!!

one more question, if I may: when activating "Show current speed" option, where should the speed appear on HUD?
in my case, it toggles between distance to next event and speed.

IMG_20210816_094826

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

There are 2 case for "Show current speed".

  1. If in navigation, speed will show on Section 6
  2. If not in navigation, speed will show on Section 1 for gathering big number.

image

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

thanks for quick help, can’t wait to give it a go in city :)

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw i have a issue with arrow recognition and speed display.

  • speed is altering with distance to next event (turn or similar)
  • arrow is incorrectly shown, maps show turn left but on HUD is take sharp right?

98A76EBF-CE87-490E-81D3-0C590F0403AF

6C276331-FBD4-4CD5-B84D-3B5E52CC1A8D

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

@skyforcetw i have a issue with arrow recognition and speed display.

  • speed is altering with distance to next event (turn or similar)
  • arrow is incorrectly shown, maps show turn left but on HUD is take sharp right?
  1. What is your "Arrow Type" set? v1 or v2?
  2. Please open "Arrow Debug" , then capture the app's notification. There should be a arrow image show on garminuino's notify.
    550644

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw if i put arrow v2 it doesn’t work at all, and from the pictures i have v1, right?

i will start arrow debug and see what i get and report back. thanks for quick advice!

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

by the way, i get a lot of “Notify parsing failed” errors in Debug window.

4A984D05-7EDE-4469-89ED-8F67940F559D

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

@skyforcetw if i put arrow v2 it doesn’t work at all, and from the pictures i have v1, right?

i will start arrow debug and see what i get and report back. thanks for quick advice!

I think your arrow is v2.

https://github.com/skyforcetw/Garminuino/blob/master/GoogleMaps_HUD/SUPPORTED_ARROWS.md

https://github.com/skyforcetw/Garminuino/blob/master/GoogleMaps_HUD/SUPPORTED_ARROWSv2.md

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw if i select arrow v2 then my HUD only displays a line and that’s all:

EDBAE26A-CA63-4822-A599-69F73923DDA6

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

by the way, i get a lot of “Notify parsing failed” errors in Debug window.
4A984D05-7EDE-4469-89ED-8F67940F559D

I thnik....... There should be some bug for parsing on android 6.0 ...
Give me some time to resolve.

this is with debug for arrows:
31A09E60-3354-4F20-91A4-3CD6A60CBA08

33B69809-CC56-433E-92E6-EC11DB3FB50E

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

thank you!

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

gmaps_hud-release_v0.8.5.zip
Please try v0.8.5, it fix arrow v2 for android 6.0

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw this is how it’s now:
F6141987-D504-4C04-A8CE-28A5C190E743

FEDCC72E-1DD8-4DC7-8B39-57D4BB78F8EF

3D25EDB5-AE19-4A21-AFFC-31C6676006F5

23D7EB72-F05B-495D-941A-F1C9FCEC8F49

sometimes i get the ‘No gmaps app found’ (although in debug apps it’s listed) sometimes ‘Parsing error’.

HUD unfortunately does not show any info except OK.

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

Would you like to borrow a mobile phone with android 8.0 or higher? It is possible that the notification of 6.0 has changed the mechanism, resulting in garminuino app parsing errors

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw ok, after a couple of tries i managed to get it connected with android 6.
it a works except Speed (and maybe speed alerts and traffic jams, i don’t know).

if i enable ‘Show speed’ it changes for a second with the ‘next instructions distance’ and so on (where 200m is in the photo below). i don’t know if you have any more patience to look into this, so i am just reporting.

BA711074-C67F-4268-A87B-643EF8809969

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

@skyforcetw ok, after a couple of tries i managed to get it connected with android 6.
it a works except Speed (and maybe speed alerts and traffic jams, i don’t know).

if i enable ‘Show speed’ it changes for a second with the ‘next instructions distance’ and so on (where 200m is in the photo below). i don’t know if you have any more patience to look into this, so i am just reporting.

BA711074-C67F-4268-A87B-643EF8809969

OK. But I will fix arrow bug first.

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

OK. But I will fix arrow bug first.

arrows now, in 0.8.5, work as expected.

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

Please try 0.8.7 for show speed bug fix.
gmaps_hud-release_v0.8.7.zip

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw unfortunately with 0.8.7 nothing works: no arrows, no speed.

you can see a lot of Parsing failed:
6980D3E5-502F-43B0-A1A8-9465B0FBD218

7DBE2E29-CEDA-40AE-8563-F9E2EBEE8F0A

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

It seems like notify parser is not stable on android 6.0 .

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

It seems like notify parser is not stable on android 6.0 .

I found the root cause.
The use of java reflection restricted by newer android 10, that is notify parser's base.
Unfortunately this may be unsolvable.
https://developer.android.google.cn/about/versions/10/non-sdk-q?hl=zh-cn

But we are at android 6.0, I don't understand how this happens.

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw still no luck finding an android 8+.

meanwhile, can you point me into the direction what data the HUD expects to receive in order to show info on screen? where i can find documentation, or, at lease a command to send to it to get it displayed on HUD?

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

@skyforcetw still no luck finding an android 8+.

meanwhile, can you point me into the direction what data the HUD expects to receive in order to show info on screen? where i can find documentation, or, at lease a command to send to it to get it displayed on HUD?

HUD's protocol hacked by gabonator.
This is the base of garminuino app.

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw thanks, have no idea how to use it but i have google and who knows… lol

thanks again and stay safe

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw

IMG_6162.MOV

notifications:
6BD1EEBA-CF91-4FC3-9DB6-F4642AADCAB9

debug:
C000AB4C-598B-4BCE-A7B3-84BE8738B633

found an android 7

v 0.8.5 shows correct arrows, no speed.
v 0.8.7 shows incorrect arrows, but speed.

see please video above. can we mix them to have good arrows and speed?

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

I don't have android 7.0..., there is too less information for debug.
Could yo use v0.8.8 for more information?

gmaps_hud-release_v0.8.8.zip

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

:(

B11FCB9C-EFEF-4B91-948C-A550EF20F327

@skyforcetw but after a couple of minutes it starts parsing:
F0E27DB1-A3EF-4425-A086-022F51A485D8

and then it can again fail and then again parse…

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

:(
and then it can again fail and then again parse…

Same phenomenon as android 6.0 :(

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

Let me explain what happen:
With android 6.0 / 7.0., the app use reflection to "digging" inside notification.
The reflection is not a official method to parse notification. (parse method 1&2)

Sometimes we can dig something in notification as we expect (show parse method 1 or 2)
, but sometimes cannot (show "non-SDK interface restriction" )
This means the notification changes the format with times go, this is strangeness.

With android 10, the app use "Extra" to "digging" notification. The "Extra" is a official & recommend method for parse notification. (show parse method 0)

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw what android version is recommended then to have, so it works good?

from garminuino.

skyforcetw avatar skyforcetw commented on September 23, 2024

@skyforcetw what android version is recommended then to have, so it works good?

In my test, android 10 & 11's google map notification can parse by "extras", without any trouble.

from garminuino.

seriojel avatar seriojel commented on September 23, 2024

@skyforcetw ok, will skip 8 and will try finding 10 or 11.
thanks!

from garminuino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.