mirror of
https://github.com/markqvist/Sideband.git
synced 2025-11-09 10:45:04 -05:00
Updated bluetooth scanning text
This commit is contained in:
parent
73601ebe1e
commit
f0ec8fde42
2 changed files with 3 additions and 2 deletions
|
|
@ -1061,7 +1061,8 @@ class SidebandApp(MDApp):
|
||||||
if str(action) == "android.bluetooth.device.action.FOUND":
|
if str(action) == "android.bluetooth.device.action.FOUND":
|
||||||
if extras:
|
if extras:
|
||||||
try:
|
try:
|
||||||
device = intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE", BluetoothDevice)
|
if android_api_version < 33: device = intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE")
|
||||||
|
else: device = intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE", BluetoothDevice)
|
||||||
dev_name = device.getName()
|
dev_name = device.getName()
|
||||||
dev_addr = device.getAddress()
|
dev_addr = device.getAddress()
|
||||||
if dev_name.startswith("RNode "):
|
if dev_name.startswith("RNode "):
|
||||||
|
|
|
||||||
|
|
@ -2579,7 +2579,7 @@ MDScreen:
|
||||||
MDLabel:
|
MDLabel:
|
||||||
id: hardware_rnode_info
|
id: hardware_rnode_info
|
||||||
markup: True
|
markup: True
|
||||||
text: "You must first pair the RNode with your device for this to work. To put an RNode into pairing mode, hold down the multi-function user button for more than 5 seconds, and release it. The display will indicate pairing mode.You can then pair the device using the Bluetooth settings of your device, or by pressing the pairing button below.\\n"
|
text: "You must first pair the RNode with your device for this to work. To put an RNode into pairing mode, hold down the multi-function user button for more than 5 seconds, and release it. The display will indicate pairing mode.You can then pair the device using the Bluetooth settings of your device, or by pressing the pairing button below. The in-app scanning and pairing is supported on Android 12+. If it doesn't work, use the Bluetooth settings of your device to scan and pair.\\n"
|
||||||
size_hint_y: None
|
size_hint_y: None
|
||||||
text_size: self.width, None
|
text_size: self.width, None
|
||||||
height: self.texture_size[1]
|
height: self.texture_size[1]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue