jesustarre Member Licensed User Longtime User Jun 1, 2020 #1 Hello How do I save a simple numeric value to a file in the internal memory In Android I use "RamdomAccessFile" Dim value As RandomAccessFile value.Initialize(File.DirInternal,"file.txt",False) value.WriteInt(1,value.CurrentPosition) Thanks in advance!
Hello How do I save a simple numeric value to a file in the internal memory In Android I use "RamdomAccessFile" Dim value As RandomAccessFile value.Initialize(File.DirInternal,"file.txt",False) value.WriteInt(1,value.CurrentPosition) Thanks in advance!
Erel B4X founder Staff member Licensed User Longtime User Jun 1, 2020 #2 Please use [code]code here...[/code] tags when posting code. Same code will work in B4i. Just use File.DirDocument or the best option is to use XUI.DefaultFolder. Upvote 0
Please use [code]code here...[/code] tags when posting code. Same code will work in B4i. Just use File.DirDocument or the best option is to use XUI.DefaultFolder.