AutoVoice Google Now on Maps

Discussion in 'AutoApps' started by RuggedHunter, Dec 16, 2015.

  1. RuggedHunter

    RuggedHunter Member

    Joined:
    Mar 23, 2015
    Messages:
    33
    Likes Received:
    3
    I have an extensive voice controlled setup in my car mode, using Autovoice Continuous that worked great until the Google update a while ago that broke the reliability of AVC mode. Due to some life changing events, I never found the time to work out a solution, so I stopped using it.

    I'm now on a new device and trying to find a workaround. Experimenting with Google Now Integration I've found I need to use the fix here for most of my commands: http://forum.joaoapps.com/index.php?threads/google-search-not-canceled.2004/

    ....and that works great when I test. However, IRL I use these commands while Maps is in the foreground. "Okay Google" does not bring up the regular Google Now dialog, so the back button action is not preventing the Google search from performing. I don't think Autovoice is intercepting either (when maps is loaded)...

    How are others accomplishing this?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    804
    Can you please try this:
    - clear logs in AutoVoice
    - enable system logs
    -do command
    -export logs and paste them here

    Thanks!
     
  3. RuggedHunter

    RuggedHunter Member

    Joined:
    Mar 23, 2015
    Messages:
    33
    Likes Received:
    3
    I appreciate the help Joao. I think the problem is that Google Now Integration is not integrating with an "OK google" voice search when Maps is running in the foreground. When I run a test, nothing appears in the log at all...it's empty.

    When I test "OK google" from the homescreen, everything is recognized and my task performs as expected (thanks to the addition of the Back button fix in the link above).

    The difference as far as I can tell is that the voice search dialog does not appear in the foreground when launched with "ok google" from within Maps (like it normally does), but instead Maps remains fully visible and Google appears as a notification on the statusbar.

    Since I don't have a log of the failed test, here's a log of it working (from homescreen):

    version 2.0.46

    OS Build BoBCaTROM_G928FXXU2AOJ5
    OS Code 22
    Device SM-G928F
    Manufacturer samsung
    Product zenltexx

    Google Now - 2015-12-18 20:01:48.739 - Type: 2048;ClassName: android.webkit.WebView;Id: null;Text: null
    Google Now - 2015-12-18 20:01:48.731 - Results checker: Results appeared
    Google Now - 2015-12-18 20:01:48.718 - Type: 2048;ClassName: android.webkit.WebView;Id: null;Text: null
    Google Now - 2015-12-18 20:01:48.712 - Results checker: Results appeared
    Google Now - 2015-12-18 20:01:48.699 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-12-18 20:01:48.691 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: All
    Google Now - 2015-12-18 20:01:48.684 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.SimpleSearchText;Id: com.google.android.googlequicksearchbox:id/search_box;Text: Search, or say “Ok Google”
    Google Now - 2015-12-18 20:01:48.634 - Type: 8192;ClassName: com.google.android.apps.gsa.searchplate.SimpleSearchText;Id: com.google.android.googlequicksearchbox:id/search_box;Text: Search, or say “Ok Google”
    Trigger Words - 2015-12-18 20:01:41.748 - Removed trigger words:
    open outlook
    Profile Matches - 2015-12-18 20:01:40.247 - "am i doing" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.241 - "add event" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.233 - "read paper" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.225 - "open recorder" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.215 - "traffic report" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.203 - "when is" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.195 - "briefing" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.183 - "navigate to" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.176 - "open phone" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.162 - "open x d a" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.155 - "remind me" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.148 - "when was" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.141 - "open messages" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.134 - "back map" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.128 - "agenda" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.119 - "the radar" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.112 - "the news" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.095 - "facebook update" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.081 - "show numbers" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.068 - "send text" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.051 - "read bible" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.041 - "open camera" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.028 - "when are" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.017 - "philly traffic" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:40.010 - "am i busy" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.994 - "am i available" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.980 - "close app" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.970 - "save location to" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.959 - "my schedule" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.917 - "the weather" matches "open outlook": false
    Google Now - 2015-12-18 20:01:39.837 - Type: 2048;ClassName: android.support.v4.widget.DrawerLayout;Id: com.google.android.googlequicksearchbox:id/velvet_toplevel;Text: null
    Google Now - 2015-12-18 20:01:39.835 - Text is present: press back and wait
    Profile Matches - 2015-12-18 20:01:39.675 - "my eta" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.637 - "my arrival" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.596 - "am i doing" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.571 - "add event" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.551 - "read paper" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.530 - "open recorder" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.492 - "traffic report" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.453 - "when is" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.369 - "briefing" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.313 - "navigate to" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.283 - "open phone" matches "open outlook": false
    Google Now - 2015-12-18 20:01:39.278 - Results checker: Command matched
    Google Now - 2015-12-18 20:01:39.268 - Should do google search: false
    Google Now - 2015-12-18 20:01:39.258 - It's a new voice command
    Recognition - 2015-12-18 20:01:39.235 - Clearing last command id
    Profile Matches - 2015-12-18 20:01:39.209 - No Last Command Id matches No Last Matched Command Id
    Profile Matches - 2015-12-18 20:01:39.204 - "open outlook" matches "open outlook": true
    Profile Matches - 2015-12-18 20:01:39.183 - "open x d a" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.160 - "remind me" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.143 - "when was" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.124 - "open messages" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.105 - "back map" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.084 - "agenda" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.068 - "the radar" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.054 - "the news" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.035 - "facebook update" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.018 - "show numbers" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:39.001 - "send text" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:38.978 - "read bible" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:38.964 - "open camera" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:38.948 - "when are" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:38.934 - "philly traffic" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:38.920 - "am i busy" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:38.905 - "am i available" matches "open outlook": false
    Profile Matches - 2015-12-18 20:01:38.888 - "close app" matches "open outlook": false
    Google Now - 2015-12-18 20:01:38.877 - Type: 2048;ClassName: android.webkit.WebView;Id: null;Text: null
    Google Now - 2015-12-18 20:01:38.872 - Results checker: Results appeared
    Google Now - 2015-12-18 20:01:38.855 - Type: 2048;ClassName: android.view.View;Id: null;Text: null
    Google Now - 2015-12-18 20:01:38.844 - Type: 2048;ClassName: android.webkit.WebView;Id: null;Text: null
    Google Now - 2015-12-18 20:01:38.840 - Results checker: Results appeared
    Profile Matches - 2015-12-18 20:01:38.831 - "save location to" matches "open outlook": false
    Google Now - 2015-12-18 20:01:38.812 - Type: 2048;ClassName: com.google.android.apps.gsa.search.shared.ui.RestrictedWidthLayout;Id: com.google.android.googlequicksearchbox:id/velvet_search_plate;Text: null
    Google Now - 2015-12-18 20:01:38.790 - Type: 2048;ClassName: android.view.View;Id: com.google.android.googlequicksearchbox:id/logo_header_logo_view;Text: null
    Google Now - 2015-12-18 20:01:38.773 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Phone
    Google Now - 2015-12-18 20:01:38.757 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Apps
    Google Now - 2015-12-18 20:01:38.740 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Books
    Google Now - 2015-12-18 20:01:38.723 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Books
    Google Now - 2015-12-18 20:01:38.706 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Books
    Google Now - 2015-12-18 20:01:38.690 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Shopping
    Google Now - 2015-12-18 20:01:38.673 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Maps
    Google Now - 2015-12-18 20:01:38.656 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: News
    Google Now - 2015-12-18 20:01:38.639 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Videos
    Google Now - 2015-12-18 20:01:38.623 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Images
    Google Now - 2015-12-18 20:01:38.607 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: All
    Google Now - 2015-12-18 20:01:38.576 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: All
    Google Now - 2015-12-18 20:01:38.557 - Type: 2048;ClassName: android.widget.HorizontalScrollView;Id: com.google.android.googlequicksearchbox:id/corpus_bar_scroll_view;Text: null
    Google Now - 2015-12-18 20:01:38.542 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-12-18 20:01:38.524 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Phone
    Google Now - 2015-12-18 20:01:38.508 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Phone
     
  4. RuggedHunter

    RuggedHunter Member

    Joined:
    Mar 23, 2015
    Messages:
    33
    Likes Received:
    3
    I've decided to go back to using AVC instead of using the Google Now integration. AVC seems to be working more reliably on this s6e+ than it did on my s4...maybe it's the better specs, or maybe an update to Google or Autovoice made things better? I'll test it out for a while and see how it holds up.
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    804
    Oh I see. So the Google app is not even opening when inside google maps. Wasn't aware of that :) Ok, makes sense then.
     

Share This Page