So, I am currently developing a SIP dialer, and I was wondering how I can change the displayed information to CarKit Bluetooth. I route audio to carkit using:
AudioManager localAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); localAudioManager.setMode(0); localAudioManager.setBluetoothScoOn(true); localAudioManager.startBluetoothSco(); localAudioManager.setMode(AudioManager.MODE_IN_CALL);
And I'm wondering: how can I set up caller information on a Bluetooth device? I could not find it anywhere on SO. To be more clear, this is what I see during an active conversation:

I also use a library for SIP sessions called PortSIP . Maybe they influence what to show? I dont know. Any ideas are welcome. I have already tried searching for AudioManager options, the only option I can imagine leaves room for the metadata audioManager.setParameters () , but I canβt find that the possible key value parameters are available for this function.
Update: They also tried to display information such as trackinfo, but still failed. This is the code I tried:
Intent intent = new Intent("com.android.music.metachanged"); intent.putExtra("track", "test"); intent.putExtra("artist", "atest"); intent.putExtra("album", "btest"); context.sendBroadcast(intent);
source share