Hi,
I am unable to view the folder returned
via GetSafeDirDefaultExternal on my mobile.
I ran Erel's following code:
<CODE>
Sub Activity_Create(FirstTime As Boolean)
Dim rp As RuntimePermissions
If rp.GetSafeDirDefaultExternal("") <> File.DirDefaultExternal Then
Log("Please post: " & rp.GetSafeDirDefaultExternal(""))
Log(File.DirDefaultExternal)
Else
Log("Nothing interesting")
End If
End Sub
<CODE>
GetSafeDirDefaultExternal returns /data/data/b4a.example/files.
and DirDefaultExternal returns /mnt/sdcard/Android/data/b4a.example/files
However, I am unable to find the above folder when I connect my mobile to my PC.
I have read elsewhere in the forum that it is possible to view the folder returned by GetSafeDirDefaultExternal from the PC when you connect the mobile device to the PC.
My intention:
To physically copy a file from my PC to the folder on my mobile device(i.e. to the folder returned by GetSafeDirDefaultExternal) and then write code using Firebase storage to 'upload' that file to my Public Folder accessible via the FIREBASE console.
Ps. help.
I am unable to view the folder returned
via GetSafeDirDefaultExternal on my mobile.
I ran Erel's following code:
<CODE>
Sub Activity_Create(FirstTime As Boolean)
Dim rp As RuntimePermissions
If rp.GetSafeDirDefaultExternal("") <> File.DirDefaultExternal Then
Log("Please post: " & rp.GetSafeDirDefaultExternal(""))
Log(File.DirDefaultExternal)
Else
Log("Nothing interesting")
End If
End Sub
<CODE>
GetSafeDirDefaultExternal returns /data/data/b4a.example/files.
and DirDefaultExternal returns /mnt/sdcard/Android/data/b4a.example/files
However, I am unable to find the above folder when I connect my mobile to my PC.
I have read elsewhere in the forum that it is possible to view the folder returned by GetSafeDirDefaultExternal from the PC when you connect the mobile device to the PC.
My intention:
To physically copy a file from my PC to the folder on my mobile device(i.e. to the folder returned by GetSafeDirDefaultExternal) and then write code using Firebase storage to 'upload' that file to my Public Folder accessible via the FIREBASE console.
Ps. help.