Saturday, March 30, 2019

Google Assistant may get integrated with Google Chrome for Android

Google Chrome for Android is one of Google’s signature products, coming preloaded on so many Android devices, and becoming the browser of choice for so many users. Another one of Google’s recent signature products is Google Assistant, the AI and machine-learning powered virtual assistant that is contextually intelligent. Assistant has made its way into several Google products, and according to recent code changes to Chromium, Assistant will now be making its way to Google Chrome too.

9to5Google spotted new code in the Chromium gerrit which were marked as being “for internal review”, and reportedly revealed a demo of the Google Assistant using context to recommend an action and automatically performing it in Chrome for Android. The code has since been pulled down, but 9to5Google managed to save a part of the code:

public void triggerGoogleIOStuff(String message) {
    mDetailsCoordinator.triggerGoogleIOStuff(message);
    if (message.equals("Here we go") || message.equals("Ready to reserve?")) {
        mCarRentalView.setVisibility(View.VISIBLE);
        mCarRentalContactView.setVisibility(View.GONE);
    } else if (message.equals("Filling in your details")) {
        mCarRentalView.setVisibility(View.GONE);
        mCarRentalContactView.setVisibility(View.VISIBLE);
    } else {
        mCarRentalView.setVisibility(View.GONE);
        mCarRentalContactView.setVisibility(View.GONE);
    }
}

The code appears to trigger a visual mockup of an upcoming integration, rather than being a completely functional, rollout-ready feature. This would serve the needs of the main keynote presentation, where only a small demo of the upcoming functionality would be required.

Based on the rest of the code, 9to5Google noted that Google Assistant will know about an upcoming trip to Chicago, and accordingly, Chrome will display a card from Assistant. This card will offer booking suggestion for the trip from a popular website. If you would choose to act on the proposal, details of your trip, such as travel dates and routes, will be autofilled into the website. The source even suggests that editing the trip would be made possible from within the Assistant.

Since Google I/O 2019 is still quite some time away, the demo may change its finer, specific details. But the upcoming integration between Google Assistant and Google Chrome is definitely something we should be keeping an eye out.


Source: 9to5Google

The post Google Assistant may get integrated with Google Chrome for Android appeared first on xda-developers.

HostGator Web Hosting

0 comments:

Post a Comment