Just a friendly tip - don't assume 'New Member' means 'Newbie Member' posts #2, #5, #6.
I use B4A Bridge because I've found the USB connection method is, at best, intermittent - hence the problem debugging offline!
Just a friendly reminder to you too...
When all you post is a very broad question that amounted to nothing more then "when I switch away from my app, it crashes" and don't provide any more details. We are going to naturally assume you are a newbie because there are a million things that could crash your app because we have no idea what your app does and why it might crash when it gets pushed to the background. Does it run an animation, does it play a song, does it access the internet, etc.
And when you said "Offline", that typically means you are not accessing the "internet". But there is absolutely no way that we should have known that the USB port on your PC or device is broken and that is why you couldn't use it to debug and post the log window! So, with no logs, this further supported our impression that you were a newbie because a non-newbie would know to post the logs so we can get an idea of what is causing the error.
And your post #10 also supports the impression of you being a newbie, because if you were familiar with the forums, you would know that Erel is the
creator of B4x and you would also know he bends over backwards to help ALL the forum members. And if you would have known this, I think you would have been a little more respectful with your post instead of outright contradicting him in a rather rude manner.
So, because you didn't provide much details, you can't blame us for thinking you were a newbie.