I don't know the reason ist for this error. I only want to change signed bytes in unsigned bytes. It works sometimes, and sometimes not...
this is the part of the LogCat of the service:
B4X:
Dim UKSP_Puffer(100) As Int
Dim Bytes_wandeln As RandomAccessFile
this is the part of the LogCat of the service:
B4X:
UKSP_Puffer(Trennposition)=Bytes_wandeln.ReadUnsignedByte(Trennposition)
java.lang.ArrayIndexOutOfBoundsException
at anywheresoftware.b4a.randomaccessfile.RandomAccessFile$ByteArrayChannel.read(RandomAccessFile.java:267)
at anywheresoftware.b4a.randomaccessfile.RandomAccessFile.ReadSignedByte(RandomAccessFile.java:149)
at anywheresoftware.b4a.randomaccessfile.RandomAccessFile.ReadUnsignedByte(RandomAccessFile.java:141)
at Foxfinder.Version_0_1.ausgangs._uksp_sammeln(ausgangs.java:447)
.....
...