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

Discussion in 'Android Questions' started by coslad, Jul 24, 2013.

  1. coslad

    coslad Well-Known Member Licensed User

    SOLVED SOLVED SOLVED SOLVED SOLVED SOLVED

    Hi to all

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

    Code:
    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: Jul 24, 2013
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice