Android Question How to read each object from multi dimentional list

nazilabdulla

Member
Licensed User
let me explain scenario,

Private buffers As List
Sub streamer_RecordBuffer (Buffer() As Byte)
'collect the recording data
buffers.Add(Buffer)
End Sub

buffer is a list object

upload_2019-1-31_16-14-26.png



I want to read each final object from this treeview. how can do ? can u please provide better solution
 

DonManfred

Expert
Licensed User
B4X:
    If buffers.Size > 0 Then
        For i=0 To buffers.Size-1
            Dim bytes() As Byte = buffers.Get(i)
' do work with the bytes...
        Next
    End If
or using bc as ByteConverter

B4X:
    If buffers.Size > 0 Then
        For i=0 To buffers.Size-1
            Dim bytes() As Byte = buffers.Get(i)
            Log(bc.HexFromBytes(bytes))
        Next
    End If
 
Last edited:

nazilabdulla

Member
Licensed User
My requirement is to get final node object in treeview. Also create back to the same structure.
I would like to share my idea with you.
I want to record a voice, voice file seems to big size as well as readable to all.
Save and transport by text , in destination convert to original format.
 

Myr0n

Active Member
Licensed User
Top