I have a problem. I want to give a user freedom to select a number of Bluetooth devices in my app. Now I dont know how many Bluetooth devices will there be so I was wondering is it possible to give user an option to click on "Add a new Bluetooth Device" custom preference and open up a new preference screen for him to select Bluetooth setting of new device?
In summary the display would look like:
Add a new Bluetooth Device..
If user adds one, it should then look like:
Bluetooth Device 1
Add a new Blutooth Device..
If user adds another one it should look like:
Bluetooth Device 1
Bluetooth Device 2
Add a new Bluetooth Device..
I know how to use standard preferences and basic coding. The only thing I want to know is how can I keep on adding settings for these devices at runtime.I will appreciate any help. Thanks.