Android Question java.lang.RuntimeException: Method: setValue not matched.

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 ??
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…