Y Yung New Member Aug 15, 2022 #1 Hello, I have a problem with my code, I'll tell you, I'm developing a small app to be able to turn lights on and off, televisions or any type of appliance from the cell phone, but when debugging the application it gets stuck on a line and that is: Activity.LoadLayout("1") And I really can't find the problem, here I leave a photo with the error and if necessary I also pass the code, I would greatly appreciate any help, thank you very much in advance.
Hello, I have a problem with my code, I'll tell you, I'm developing a small app to be able to turn lights on and off, televisions or any type of appliance from the cell phone, but when debugging the application it gets stuck on a line and that is: Activity.LoadLayout("1") And I really can't find the problem, here I leave a photo with the error and if necessary I also pass the code, I would greatly appreciate any help, thank you very much in advance.
jahswant Well-Known Member Licensed User Longtime User Aug 16, 2022 #2 If the layout exists. User CTRL + P to clean the project and force new files copy. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 16, 2022 #3 You shouldn't see Activity in your code. Switch to B4XPages. Upvote 0
Y Yung New Member Aug 21, 2022 #4 Erel said: You shouldn't see Activity in your code. Switch to B4XPages. Click to expand... How do I do that? Upvote 0
Erel said: You shouldn't see Activity in your code. Switch to B4XPages. Click to expand... How do I do that?
Erel B4X founder Staff member Licensed User Longtime User Aug 22, 2022 #5 Start here: [B4X] B4XPages - Cross platform and simple framework for managing multiple pages Upvote 0