In this line of code,
session.InitializeNewInstance("android.support.v4.media.session.MediaSessionCompat", Array(Context, "MSC", Null, Null))
, "MSC", whta does it refer to and cann it be change and if so what can I change it to.
Just been playing with this, using a bluetooth receiver I can only get it to work with the play/pause key, is it possible to detect the MEDIA_NEXT and MEDIA_PREVIOUS keys as well?
Just noticed, if I switch out of the app and back in, I can get the MEDIA_NEXT or MEDIA_PREVIOUS key to register but only for one single click then both become non-responsive and only the play/pause button continues to respond. Any ideas?