android - How is it possible to pass the getFilesDir() to Files object :as getFilesDir() returns path of the dir? -


i new java ,so please explain me stuff:

res = getresources();      try {         io.transferfiles(getfilesdir(),res);     } catch (ioexception e) {      } 

the above code in oncreate().

class io{ public static void transferfiles(file base, resources res) throws ioexception {     //statement         }  }} 

so question is, happen if pass getfilesdir() method file object (here base). (please provide links if can learn more)

ref: example returns absolute file path of internal storage of device no permission required. when u want read file using or write file need declare <uses-permission> in manifest file. example

internal , external file storage


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -