Helo,
If I want save a double in the device, I can write:
And if I want to load and recover my number I can write
What is the syntax to do the same thing with a picture? I want to save a picture taken with camera and load it later
Thank you
If I want save a double in the device, I can write:
B4X:
Sub Globals
Dim FileNUMBERS As String : FileNUMBERS = "Sets.txt"
Dim Number as Double
Dim MyNumber as Double
End Sub
Sub BtnEnreg_Click
Number = 50
Dim List1 As List
List1.Initialize
List1.Add(Number)
File.WriteList(File.DirInternal, FileNUMBERS,List1)
End Sub
B4X:
Sub BtnLoad_Click
Dim List1 As List
If File.Exists(File.DirInternal,FileNUMBERS) Then
List1 = File.ReadList(File.DirInternal,FileSETTINGS)
MyNumber = List1.Get(0)
End Sub
B4X:
Dim MyPicture as Bitmap
Thank you