ibrahim123
New Member
hi everyone
i am trying to use setValue method and i keep getting this error
"""java.lang.RuntimeException: Method: setValue not matched."""
{
Sub SetByteValue(Characteristic As BleCharacteristic, Value As Byte)
JavaObj = Characteristic
Try
JavaObj.RunMethod("setValue", Array As Object(Value))
Manager.WriteCharacteristic(Characteristic)
Catch
Log("Failed sending value " & Value)
End Try
End Sub
}
using b4a trailer version 8.50
any ideas ??
i am trying to use setValue method and i keep getting this error
"""java.lang.RuntimeException: Method: setValue not matched."""
{
Sub SetByteValue(Characteristic As BleCharacteristic, Value As Byte)
JavaObj = Characteristic
Try
JavaObj.RunMethod("setValue", Array As Object(Value))
Manager.WriteCharacteristic(Characteristic)
Catch
Log("Failed sending value " & Value)
End Try
End Sub
}
using b4a trailer version 8.50
any ideas ??