Here is a useful piece of code to read the SEL files produced by Scene Editor. It requires the RandomAccessFile library.
Example of use:
To see a concrete example of how to use it, download the AngryBirds example on the first post of the Scene Editor thread.
Example of use:
B4X:
Dim L As List = codLayoutFile.ReadCompressedLayout(MyDir, MyFileName)
For Each Line As Object In L
If Line Is String Then
'Section header
...
Else If Line Is Map Then
'Section contents
Dim M As Map = Line
....
End If
Next
Attachments
-
767 bytes Views: 84
Last edited: