I've got six years of B4X under my belt and am just now experimenting with a second Activity Module. I have read lots of posts about it and have watched the Activity Life-cycle video twice.
I made a small project with two Activity modules. I start "Activity2" from "Main" and it works perfectly.
However, in my very large project, when I StartActivity(Activity2) everything is fine for about five seconds, then suddenly Activity_Resume in Main is called, and I am presented with a blank screen. This does not happen in my "small" project.
What could be causing this to happen? I am not touching the device after Activity2 is started. There are no timers going or anything like that.
I made a small project with two Activity modules. I start "Activity2" from "Main" and it works perfectly.
However, in my very large project, when I StartActivity(Activity2) everything is fine for about five seconds, then suddenly Activity_Resume in Main is called, and I am presented with a blank screen. This does not happen in my "small" project.
What could be causing this to happen? I am not touching the device after Activity2 is started. There are no timers going or anything like that.