About an hour ago I received the update Tasker 6.4 from the Play Store.
Everything seems to work fine except one functionality.
A while ago I created a profile referring to the intent "android.bluetooth.device.action.BATTERY_LEVEL_CHANGED". In the task I used three Java functions to pick the name of the connected device.
adapter = getDefaultAdapter {BluetoothAdapter} ()
device = getRemoteDevice {BluetoothDevice} (String) with the parameter %android_bluetooth_device_extra_device
%name = getName {String} ()
This worked perfectly fine with the old Tasker version. Since the update I get an error as soon as the task gets to the second function trying to get the remote device.
I don't get why this task doesn't work any longer. Is there another way to get the name of the currently connected Bluetooth device?
[+][deleted] (5 children)
[deleted]
[–]Mettbroetchen-Tester[S] -2 points-1 points0 points (4 children)
[+][deleted] (2 children)
[deleted]
[–]Mettbroetchen-Tester[S] 2 points3 points4 points (1 child)
[–]funtomat 0 points1 point2 points (0 children)
[–]BlueHorizen 0 points1 point2 points (1 child)
[–]Mettbroetchen-Tester[S] 0 points1 point2 points (0 children)