Android Question Unknown type ExternalFile

GuyBooth

Active Member
Licensed User
Longtime User
In my app using the "traditional" approach with activities, in my class for external storage I declare the following:

B4X:
    Public Root As ExternalFile
.
.
    Public Sub List_Files (Folder As ExternalFile) As List
    .
    .
    End sub
The code works fine, no errors show in the logs.
I am trying to "translate" my code to a B4XPages based app.
When I use the same declaration in the B4XPages based app the logs show:
B4X:
clExtStorage - 11: Unknown type: externalfile. Are you missing a library reference?
at any point that I try to make a declaration for and "externalfile".
I don't see that I have missed any of the libraries, and none of my other code shows similar errors.
Does anyone have any suggestions for what I am missing?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…