Dear All,
I´ve moved a ton of stuff to a service module so that internet and file operations can also execute while app is paused. This worked perfectly before when they were in the main activity, but now I get this error:
stopping at this line:
I have "Dim rp As RuntimePermissions" in the service module, and in the manifest I have:
which was also there before.
Are there special concerns for writing to storage when it´s called from a service module?
Thanks in advance!
I´ve moved a ton of stuff to a service module so that internet and file operations can also execute while app is paused. This worked perfectly before when they were in the main activity, but now I get this error:
B4X:
java.io.FileNotFoundException: /storage/emulated/0/Android/data/mobi.test.test/files/vv/backgrounds.zip: open failed: EACCES (Permission denied)
stopping at this line:
B4X:
File.Copy (File.DirAssets , "backgrounds.zip",rp.GetSafeDirDefaultExternal("") & "/" & usernametmp,"backgrounds.zip")
I have "Dim rp As RuntimePermissions" in the service module, and in the manifest I have:
B4X:
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="23"/>
which was also there before.
Are there special concerns for writing to storage when it´s called from a service module?
Thanks in advance!