G Gbenga Odumosu Member Licensed User Longtime User Jul 30, 2018 #1 For Each f As String In File.ListFiles(File.DirRootExternal) works in b4a version 5.50 but gave error in 8.0 what is the problem.
For Each f As String In File.ListFiles(File.DirRootExternal) works in b4a version 5.50 but gave error in 8.0 what is the problem.
KMatle Expert Licensed User Longtime User Jul 30, 2018 #2 For sure you see an exception in the logs. Why don't you post it? I assume you did not use runtime permissions and Android SDK 23+ prevents access to DirRootExternal on that device. Upvote 0
For sure you see an exception in the logs. Why don't you post it? I assume you did not use runtime permissions and Android SDK 23+ prevents access to DirRootExternal on that device.
G Gbenga Odumosu Member Licensed User Longtime User Jul 30, 2018 #3 KMatle said: For sure you see an exception in the logs. Why don't you post it? I assume you did not use runtime permissions and Android SDK 23+ prevents access to DirRootExternal on that device. Click to expand... thanks for your reply, the error is java.lang.runtimeexception: object should first be initialized (list) Upvote 0
KMatle said: For sure you see an exception in the logs. Why don't you post it? I assume you did not use runtime permissions and Android SDK 23+ prevents access to DirRootExternal on that device. Click to expand... thanks for your reply, the error is java.lang.runtimeexception: object should first be initialized (list)
G Gbenga Odumosu Member Licensed User Longtime User Jul 31, 2018 #4 Thanks I did as you suggested and its OK now .I appreciate you Upvote 0