I developed a program called cejOpening to test this problem out. I compiled it, tested it, and everything worked just fine, as expected. The file name was cejOpening.b4a, the Designer Activity name was cejOpening, and I had coded Activity.LoadLayout("cejOpening").
Then I changed all the names:
In Designer I saved the cejOpening Activity as BalTest,
In Project Attributes I changed #ApplicationLabel: to BalTest,
I changed the code to Activity.LoadLayout("BalTest"),
I renamed the cejOpening.b4a file to BalTest.b4a,
I deleted cejOpening.bal since baltest.bal is what I want to use.
Within the compiler, as soon as I go to "File" and "Open Source" to open BalTest.b4a, I get a popup box with the following message:
An error occurred.
Error accessing the following files:
C:\Android\BalTest\Files\cejOpening.bal: Unable to find the specified file.
When I click on the popup's OK button, the source code opens up.
I then go to Designer/File/Open and open baltest.bal.
Then when I click on the little blue "Run" arrow to comple and test the program I get the following message:
Parsing code. 0.02
Compiling code. Error
Could not find file 'C:\Android\BalTest\Files\cejopening.bal'.
The program won't compile now. So somewhere the compiler thinks the .bal file should still be named cejOpening. Where is that name located and is it changeable?
-Chuck