I need to access the system files namely to obtain information. I get the build.prop file in this way

Runtime.getRuntime().exec("/system/bin/getprop").getInputStream(); 

I need a list of other files or how to read them. Thank you in advance.

    1 answer 1

     Runtime.getRuntime().exec(new String[] { "ls", "\\system\\bin"}); 
    • Please explain what kind of expression "ls", "\\ system \\ bin" - ramin
    • ls is the unix command to get the list of files in the directory, and the /system/bin directory where to look. Well, you have questions ... Are you using getprop without knowing what it is ?! - Barmaley