java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at com.mamavi.slimup.main._activity_create(main.java:1974)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at com.mamavi.slimup.main.afterFirstLayout(main.java:104)
at com.mamavi.slimup.main.access$000(main.java:17)
at com.mamavi.slimup.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:7000)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
sorry I try to explain myself better
first of all, I repeat correct doce:
B4X:
Dim b As Byte
Dim wstr As String
b = 71
LogByte(b)
b = SetBit(b, 0, False)
LogByte(b)
Sub LogByte(b As Byte)
Log(NumberFormat2(Bit.ToBinaryString(Bit.And(0xff, b)), 8, 0, 0, False))
End Sub
The log is:
B4X:
01000111
01000110
that is:
71
70
Now I need simply have a string with "F" (that is 70)
I hope this time I was clear
sorry I try to explain myself better
first of all, I repeat correct doce:
B4X:
Dim b As Byte
Dim wstr As String
b = 71
LogByte(b)
b = SetBit(b, 0, False)
LogByte(b)
Sub LogByte(b As Byte)
Log(NumberFormat2(Bit.ToBinaryString(Bit.And(0xff, b)), 8, 0, 0, False))
End Sub
The log is:
B4X:
01000111
01000110
that is:
71
70
Now I need simply have a string with "F" (that is 70)
I hope this time I was clear