2

According to my research, starting in API 23, you can change the app you use when you hold down the home button. Any ideas on how to get my assistant as an option? Thanks in advance. (The issue is I cannot find code to make this work)

The setting is usually at Settings/Apps (or App Manager)/Configure apps (three dots icon)/Assist & voice input/assist app

user8199688
  • 53
  • 2
  • 5

1 Answers1

2

You can implement a personal assistant just like the Google Now on Tap using the Assist API starting Android 6.0. The official developer (http://developer.android.com/training/articles/assistant.html) guide tells exactly how you should implement it.

Hitesh Bhalala
  • 2,872
  • 23
  • 40
  • Can you please include the code required for this, I am not an expert on understanding documentation. – user8199688 Jun 23 '17 at 22:58
  • overview of implementing your own assist app: https://developer.android.com/training/articles/assistant#implementing_your_own_assistant example code: https://android.googlesource.com/platform/frameworks/base/+/marshmallow-release/tests/VoiceInteraction/ – Eric Dec 03 '18 at 21:44