Android Question LoadLayout from DirInternal or DirExternal sub-folders ?

b4auser1

Well-Known Member
Licensed User
Longtime User
B4X:
    Activity.LoadLayout(File.Combine(File.Combine(File.DirRootExternal, "download"), "mainlayout"))

B4X:
java.io.FileNotFoundException: /storage/emulated/0/download/mainlayout.bal

Is it possible to load bal files from DirInternal or DirExternal sub-folders ?

I want to load bal files from the shared resource in the Internet to provide custom forms dynamically.
 

JonPM

Well-Known Member
Licensed User
Longtime User
I don't think it's possible as the BAL file is like a source code file that needs to go through the compiler first. Perhaps this will help
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…