Oh my god! I found two
empty modules
f and
z at the
Modules window, and their contents are as follows.
[CODE lang="b4x" title="f"]#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
End Sub
[/CODE]
[CODE lang="b4x" title="z"]Sub Class_Globals
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize
End Sub
[/CODE]
I have never used the Modules window before, and have already forgotten creating these two modules. But this is still very strange: why do they affect the behavior of FileProvider?(In fact, only
f does. I tried several times, and it is okay to remove only
f while leaving
z.)
However, after removing them, the problem was solved.