I use some code to save the files. All is ok on my Galaxy S2 phone, also on AVD with android 4.1.2
But when i test it on AVD with android 2.3.3 and 3.1, give me an error.
The code i use:
So, is File.DirDefaultExternal functional only after android 4 ?
And how can i save the files in android 2 and 3 ?
But when i test it on AVD with android 2.3.3 and 3.1, give me an error.
The code i use:
B4X:
Dim PadDir As String : PadDir = File.DirDefaultExternal & "/DictationFiles"
Dim PadFileName As String
...
If FirstTime AND File.Exists(PadDir, "*.*") = False Then
File.MakeDir(File.DirDefaultExternal, "DictationFiles")
End If
...
File.WriteString(PadDir, PadFileName, EditPad.text)
And how can i save the files in android 2 and 3 ?