I am able to create a list of files, which works fine on my tablet but not on the emulator.
My code is:
Dim path1 = File.DirRootExternal
Dim fileList As List
fileList.Initialize()
fileList = File.ListFiles(path1)
fileList.sort()
The error shown is "java.lang.RuntimeException: Object should first be initialised (List)". The list was initialised in line 3, and it somehow get uninitialised in line 4. Any suggestions on why this is?
thanks
My code is:
Dim path1 = File.DirRootExternal
Dim fileList As List
fileList.Initialize()
fileList = File.ListFiles(path1)
fileList.sort()
The error shown is "java.lang.RuntimeException: Object should first be initialised (List)". The list was initialised in line 3, and it somehow get uninitialised in line 4. Any suggestions on why this is?
thanks