Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Long-Press Activation #3

Open
walles opened this issue Aug 24, 2018 · 1 comment
Open

Enable Long-Press Activation #3

walles opened this issue Aug 24, 2018 · 1 comment

Comments

@walles
Copy link
Owner

walles commented Aug 24, 2018

Try implement this intent...
https://developer.android.com/reference/android/content/Intent#ACTION_ASSIST
... and see if that makes it possible for the user to launch us through home button long press.

From:
https://forums.androidcentral.com/showthread.php?t=808278&s=7a68d5816e7e848e7a3ebd99f5993314&p=5889321&viewfull=1#post5889321

  1. From your device’s Settings, tap Apps.
  2. Tap the 3-dot menu button > Default apps > Device assistance app
  3. Tap Device assistance app, and then select Google.

When following these instructions, CleverDrawer should be one of the apps that show up.

@walles
Copy link
Owner Author

walles commented Sep 4, 2018

Nope, responding to ACTION_ASSIST won't help.

Some docs here on how to do it according to Google:
https://developer.android.com/training/articles/assistant#implementing_your_own_assistant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant