2016-04-11, 14:58
I want to write an add on for tethering a RPI to a smartphone using Bluetooth. The Bluetooth part is ok for me, as there is a hands free library on SourceForge which looks like it does what I need.
I want to do the pairing through the Kodi Front end, and the most sensible place for this is on the settings page for my add on. So I need a dynamic list of Bluetooth devices for the user to chose which device to pair with. Drop down list, or list I'm not too fussed, but from what I read all settings lists are defined in the settings xml file.
Is there a way to have a dynamic list on the settings page?
I want to do the pairing through the Kodi Front end, and the most sensible place for this is on the settings page for my add on. So I need a dynamic list of Bluetooth devices for the user to chose which device to pair with. Drop down list, or list I'm not too fussed, but from what I read all settings lists are defined in the settings xml file.
Is there a way to have a dynamic list on the settings page?