1. Are you ready for the Galaxy S20? Here is everything we know so far!

Adding ROLE_ASSISTANT capability to your app

Discussion in 'Android Development' started by droid_dev, Mar 15, 2021.

  1. droid_dev

    droid_dev Lurker
    Thread Starter

    I just read that we can now add the assistant feature to our own app. I've added this intent in my manifest:

    <action android:name="android.intent.action.ASSIST" />

    And then trying to capture the audio input (using the MediaRecorder APIs) when I speak into my Bluetooth voice remote, but just getting silence. It seems like I need to add this role, RoleManager.ROLE_ASSISTANT to my app. Any ideas how this can be done? Thanks in advance

    1. Download the Forums for Android™ app!



Share This Page