Android Question How to read each object from multi dimentional list

nazilabdulla

Member
Licensed User
Longtime 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




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

DonManfred

Expert
Licensed User
Longtime 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:
Upvote 0

nazilabdulla

Member
Licensed User
Longtime 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.
 
Upvote 0

Myr0n

Active Member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…