Android Question for each f in file.listfile

Gbenga Odumosu

Member
Licensed User
Longtime User
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.
 

Gbenga Odumosu

Member
Licensed User
Longtime User
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.
thanks for your reply,
the error is java.lang.runtimeexception: object should first be initialized (list)
 
Upvote 0
Top