N noeleon Active Member Licensed User Longtime User Apr 13, 2025 #1 I don't know if I'm the only one experiencing this but in Android 14 when the app I'm working on is sent to the background the debugger will disconnect after a few seconds. Or maybe android kills the app? Is there a fix to this? I'm using b4a 12.8.
I don't know if I'm the only one experiencing this but in Android 14 when the app I'm working on is sent to the background the debugger will disconnect after a few seconds. Or maybe android kills the app? Is there a fix to this? I'm using b4a 12.8.
N noeleon Active Member Licensed User Longtime User Apr 13, 2025 #2 30 seconds, to be exact. I don't remember it to disconnect when my phone was android 12 or 10 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 13, 2025 #3 Sounds like your the OS kills the app. Check the settings under "developer options" related to apps running in the background. Maybe you can make it less aggressive. 30 seconds is indeed short period. Upvote 0
Sounds like your the OS kills the app. Check the settings under "developer options" related to apps running in the background. Maybe you can make it less aggressive. 30 seconds is indeed short period.
N noeleon Active Member Licensed User Longtime User Apr 13, 2025 #4 the only relevant option i see is "Don't keep activities" but it's not on. Also, my app is b4xpage. When not in debug mode it can stay in the background for hours without getting killed. Upvote 0
the only relevant option i see is "Don't keep activities" but it's not on. Also, my app is b4xpage. When not in debug mode it can stay in the background for hours without getting killed.
Erel B4X founder Staff member Licensed User Longtime User Apr 15, 2025 #5 In debug mode the app closes when the network connection is broken. I guess that your device stops the connection for some reason. Create a new B4XPages project and run it in debug mode. Does it also happen? Upvote 0
In debug mode the app closes when the network connection is broken. I guess that your device stops the connection for some reason. Create a new B4XPages project and run it in debug mode. Does it also happen?
N noeleon Active Member Licensed User Longtime User Apr 16, 2025 #6 Yes it also happens with a new project. Tried it in Android 13 and it does not disconnect. Upvote 0
NikB4x Member Licensed User Longtime User Apr 16, 2025 #7 Hi, are you using a new Samsung phone? If so, you can read this: https://dontkillmyapp.com/samsung Hope it will help Upvote 0
Hi, are you using a new Samsung phone? If so, you can read this: https://dontkillmyapp.com/samsung Hope it will help
N noeleon Active Member Licensed User Longtime User Apr 17, 2025 #8 @NikB4x it's a Chinese brand $100 phone called "itel S25 Ultra". Still disconnects even when the app is locked in Recents screen. Upvote 0
@NikB4x it's a Chinese brand $100 phone called "itel S25 Ultra". Still disconnects even when the app is locked in Recents screen.