Acouple of things came up whilst trying to remove ''dangerous' permissions from an app:
1. the following three versions all work:
so is it OK to assume that any variant can always be used for any type of file reference, file.delete, file.copy, etc. etc.? This would avoid having to split a path/name if it is already combined.
2. BluetoothAdmin adds android.permission.ACCESSCOARSE_LOCATION to the permissions. Why is this, why is it a 'dangerous' permission and can it be avoided?
Thanks
1. the following three versions all work:
B4X:
If File.Exists(Filepath, Filename) Then Log("OK")
If File.Exists(FilepathandFilename, "") Then Log("OK")
If File.Exists("", FilepathandFilename) Then Log("OK")
2. BluetoothAdmin adds android.permission.ACCESSCOARSE_LOCATION to the permissions. Why is this, why is it a 'dangerous' permission and can it be avoided?
Thanks