Home » Android » bluetooth – Android support for AVRCP

bluetooth – Android support for AVRCP

Posted by: admin May 14, 2020 Leave a comment

Questions:

What Android versions and devices support AVRCP 1.3 and 1.4?

What is required from the app to support AVRCP 1.3 (provide track info)? We play audio via AudioTrack, not media player.

What is needed to support 1.4?

Are there any examples, source code, etc, that demonstrate how to support AVRCP 1.3 and 1.4?

How to&Answers:

Base android does not support AVRCP 1.3/1.4, many other devices support (many phones support AVRCP 1.3/1.4 ex: Moto Razr series phones ) . Source code for AVRCP 1.3 can be found on the codeaurora git maintained by Qualcomm .
AVRCP 1.3 need media information as STATUS, TrackName , ArtistName , AlbumName , Duration etc. check in AVRCP 1.3 spec version in bluetooth.org
Also you will need to change the SDP record for the AVRCP profile to 1.3 .

Answer:

This is an old question, but non the less:
Profile support is dependent on Chipset and Stack.
The Bluetooth implementation have nothing to do with what Android version you are running.

The Qualified listings for devices can be found on Bluetooth.org
These listings contain supported profiles and profile version.

If a device uses the Bluetooth brand, it should be listed there.

Answer:

In Galaxy S9 I see in dev settings that 1.4 is the default but 1.5 and 1.6 are an option. My sony mex-n4100bt which claims to support 1.5 works out of the box to list files and stuff on Galaxy S4 of a friend. But doesn’t work on my S9 before I start an app. Actually on my S9 only controls work and I couldn’t find an app that supports browsing files. Need to spend a little more time investigating what is going on.

Back to the (old) question, I think one can use example supporting AVRCP in VLC codebase. But probably it is lower than 1.4 because with 1.4 browsing files should have been available.