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!


      Download

       
Loading...
Similar Threads - Adding ROLE_ASSISTANT capability
  1. Milo Williamson
    Replies:
    14
    Views:
    510
  2. Omega01
    Replies:
    4
    Views:
    405
  3. schweig85
    Replies:
    2
    Views:
    669
  4. Alex Ethridge
    Replies:
    1
    Views:
    425
  5. Douchebert
    Replies:
    2
    Views:
    534
  6. factchaser
    Replies:
    7
    Views:
    1,232
  7. tracey french
    Replies:
    1
    Views:
    667
  8. ironass
    Replies:
    3
    Views:
    2,440
  9. Gobshyte
    Replies:
    1
    Views:
    488
  10. AndroidJH
    Replies:
    2
    Views:
    882

Share This Page

Loading...