Android Question EACCES (Permission denied)

Firpas

Active Member
Licensed User
Longtime User
Is it possible to read a file located in File.DirInternal from another application ?

B4X:
   If File.Exists(File.DirInternal, "Config.txt") Then
        Config = File.ReadMap(File.DirInternal, "Config.txt")
    Else If File.Exists("/data/data/com...../files", "Config.txt") Then
        Config = File.ReadMap("/data/data/com...../files", "Config.txt")
    Else
        Config_Default
    End If

java.io.FileNotFoundException: /data/data/com.ags.agstermoteltmobile/files/Config.txt: open failed: EACCES (Permission denied)

Thanks in advance
 
Top