Update:
Had a nice convo with NJDude regarding the Manifest Editor.
On another post NJDude mentioned I needed to add some script to the Manifest.xml to take advantage of the Custom URL features of Android.
I MISTAKENLY translated the other post instruction into
using a text editor to add very special Custom URL scripts to the Manifest.xml file.
And to keep those changes I had to tick the Do not Overwrite Manifest file.
And since these were very special Custom URL sciprts
I had deduced the warning message about backwards compatibilty only
didn't pertain.
This is NOT the case.
I sould have translated those other instructions to something like
"Add the following special Custom URL script to the applications Manifest via the Manifest Editor:" etc.
Where even though B4A IDE looks simple (to me) that I had mistaken b4a for a very young product.
This again is NOT the case.
b4a is very smart and will automaticly add manifest scripts on its own.
And again, the Custom URL scripts I needed was a very special case.
The special case was the b4a compiler couldn't recongnise I needed Custom URL Scripts.
So needed me to be added via Custom URL script to the manifest via the manifest editor.
Now with the topic of this thread:
Write Exteral file - Access Denied with Do Not Overwrite Manifest File ON
This script:
File.WriteString(File.DirRootExternal, myPath, myData)
The b4a compiler did recognise the File.DirRootExternal
and the compiler needed to include a script in the manifest to allow writing to SDCard storage.
But the compiler could not since I had asked b4a not to overwrite the manifest file.
So to exagerate slightly to keep other noobs from getting caught on this.
Never use the Do Not Overwrite the Manifest File.
And ALWAYS use the Manifest editor to update the application manifest.
Thanks heaps for the exceptional supprot NJDude.
Had a nice convo with NJDude regarding the Manifest Editor.
On another post NJDude mentioned I needed to add some script to the Manifest.xml to take advantage of the Custom URL features of Android.
I MISTAKENLY translated the other post instruction into
using a text editor to add very special Custom URL scripts to the Manifest.xml file.
And to keep those changes I had to tick the Do not Overwrite Manifest file.
And since these were very special Custom URL sciprts
I had deduced the warning message about backwards compatibilty only
didn't pertain.
This is NOT the case.
I sould have translated those other instructions to something like
"Add the following special Custom URL script to the applications Manifest via the Manifest Editor:" etc.
Where even though B4A IDE looks simple (to me) that I had mistaken b4a for a very young product.
This again is NOT the case.
b4a is very smart and will automaticly add manifest scripts on its own.
And again, the Custom URL scripts I needed was a very special case.
The special case was the b4a compiler couldn't recongnise I needed Custom URL Scripts.
So needed me to be added via Custom URL script to the manifest via the manifest editor.
Now with the topic of this thread:
Write Exteral file - Access Denied with Do Not Overwrite Manifest File ON
This script:
File.WriteString(File.DirRootExternal, myPath, myData)
The b4a compiler did recognise the File.DirRootExternal
and the compiler needed to include a script in the manifest to allow writing to SDCard storage.
But the compiler could not since I had asked b4a not to overwrite the manifest file.
So to exagerate slightly to keep other noobs from getting caught on this.
Never use the Do Not Overwrite the Manifest File.
And ALWAYS use the Manifest editor to update the application manifest.
Thanks heaps for the exceptional supprot NJDude.
Last edited: