Android Question [newbie question] how can i create , write , and read a file ? [ Solved ]

Discussion in 'Android Questions' started by Waldemar Lima, Feb 14, 2018.

  1. Waldemar Lima

    Waldemar Lima Member Licensed User

    hi everyone !
    i am looking for a tutorial to learn create a new file , write string into this file , and read all lines of this file ...
     
  2. Waldemar Lima

    Waldemar Lima Member Licensed User

    i learn about that and i found this commands :)

    File.WriteString(File.DirRootExternal,"myfile.txt","HelloWorld")
    Log(File.ReadString(File.DirRootExternal,"myfile.txt"))
     
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