Hi...first time post, but long time lurker and (very amateur) B4a developer...
I've been developing an app for a few months and must have installed it via B4A-Bridge hundreds of times.
I'm using File.DirDefaultExternal for a log file and it's always worked fine...until this morning...
still gives me
...which is all good.
However, as of this morning, neither of the following exist after an install . i.e the package folder does not get created on an install (debug or release, private key or debug key):
/storage/emulated/0/Android/data/anywheresoftware.b4a.samples.camera
/storage/emulated/0/Android/data/anywheresoftware.b4a.samples.camera/files
I've used a "Files" application to look at Android/data and the directory has always been there when the app is installed, except for now.
Any ideas please? I'm completely stuck....
Add: manifest file, if relevant..
I've been developing an app for a few months and must have installed it via B4A-Bridge hundreds of times.
I'm using File.DirDefaultExternal for a log file and it's always worked fine...until this morning...
Code:
Log("File.DirDefaultExternal=" & File.DirDefaultExternal)
Code:
/storage/emulated/0/Android/data/anywheresoftware.b4a.samples.camera/files
...which is all good.
However, as of this morning, neither of the following exist after an install . i.e the package folder does not get created on an install (debug or release, private key or debug key):
/storage/emulated/0/Android/data/anywheresoftware.b4a.samples.camera
/storage/emulated/0/Android/data/anywheresoftware.b4a.samples.camera/files
I've used a "Files" application to look at Android/data and the directory has always been there when the app is installed, except for now.
Any ideas please? I'm completely stuck....
Add: manifest file, if relevant..
B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.basic4ppc.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="33"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.LightTheme)
'End of default text.
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
AddPermission(android.permission.PERMISSION_ACCESS_FINE_LOCATION)
AddPermission(android.permission.PERMISSION_ACCESS_COARSE_LOCATION)
AddPermission(android.permission.PERMISSION_CAMERA)
'
AddApplicationText(<activity android:name="anywheresoftware.b4a.objects.preferenceactivity"/>)
Last edited: