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

Android 10 Bluetooth problem in Call announcer app. Incoming call announcement not heard, ringtone p

Discussion in 'Android Development' started by Kishor Bapat, Jan 23, 2020.

  1. Kishor Bapat

    Kishor Bapat Lurker
    Thread Starter

    We have created a Call Announcer app which can announce the name of the caller through a Bluetooth Headphone.
    The app works perfectly in Android 9. We have tested with One Plus and Samsung phones.
    However when we started testing with Android 10, only the phone ringtone is heard instead of our announcement for incoming calls. Outgoing call announcements still work fine.
    The app uses AudioManager to play the announcement which is embedded in the text to speech engine.
    We have tried to request audio focus before the announcement and release focus after the announcement.
    We have also tried using the following:
    a. AudioManager.STREAM_VOICE_CALL
    b. AudioManager.STREAM_MUSIC
    c. AudioStream.MODE_NORMAL
    d. AudioManager.STREAM_RING
    We checked the Bluetooth settings for the connected device, There are two options under Used for:
    1. Phone Audio
    2. Media Audio
    If Phone Audio is switched off. the announcement plays through the headphones but no conversation.
    If Phone Audio is switched on, announcement does not play but conversation is heard.
    Any advice on fixing this issue in Android 10 is appreciated. The devices we have tested with Android 10 are a Nokia and Motorola device.
     

    Advertisement

  2. olbriar

    olbriar  
    Moderator

    Hello and welcome to AF. I moved your thread here for better attention.
     
Loading...
Similar Threads - Android Bluetooth problem
  1. mikedt
    Replies:
    3
    Views:
    169
  2. Android News
    Replies:
    0
    Views:
    105
  3. Android News
    Replies:
    0
    Views:
    24
  4. Rob
    Replies:
    1
    Views:
    144
  5. honzaZahCZ
    Replies:
    12
    Views:
    303
  6. Lubron
    Replies:
    0
    Views:
    629
  7. ragekage23424
    Replies:
    0
    Views:
    372
  8. stuarta
    Replies:
    7
    Views:
    222
  9. Cyberdev
    Replies:
    0
    Views:
    229
  10. john gter
    Replies:
    1
    Views:
    216

Share This Page

Loading...