Android Question file.copy : dirinternal > dirinternal = Permission Denied

coslad

Well-Known Member
Licensed User
Longtime User
SOLVED SOLVED SOLVED SOLVED SOLVED SOLVED

Hi to all

My app has a strange behaviour , it stops to work at this line :

B4X:
File.Copy(File.DirInternal & "/forum","note.txt",File.DirInternal & "/forum/QeA","note.txt")

the log sais :

java.io.FileNotFoundException: /data/data/samsung.ha.withe/files/forum/note.txt (Permission denied)

i'm going crazy , i don't understand .
Please help me.

Thanks



Solution :

To test function i copied the source file from another folder through "ghost commander" , ghost commander by copying the file has changed attributes, in this way my application did not recognize that the file was created by it .

apologise my english .

Thanks
 
Last edited:
Top