>closes your app for no reason>no way to get your app running 24/7
Only Termux doesn't have this problem
>>107010549Depends what your app is and what you're trying to do.Alarms still work to run background tasks on set times. You could set those up to ensure the app is still running in the background, and if the activity has bee unloaded, restart it and have it continue running.
This is mostly a samsung problem isn't it? Every other one I've tried just works if you grant it the permission.
>>107010633since the last Android update, it also stops my Termux very often
>>107010817I've been running silly tavern in the back ground for like a week now without any problems
>>107011193that's not running 24/7
?
my jailbroken iPhone doesn't have this problem. wha bugs me is that they killed jailbreaking. I'm gonna have to switch to jeetdroid when it's time to buy a new phone
>>107010549>closes your app for no reasondepends on the vendor but things were pretty bad in the past and it's probably still the case now for some>no way to get your app running 24/7thats what foreground services are forhttps://developer.android.com/develop/background-work/services/fgshttps://developer.android.com/develop/background-work/background-tasks
>>107010549my alarm doesn't have this problemmy signal client doesn't have this problemmy email client doesn't have this problemmy openvpn client doesn't have this problemmy automation app doesn't have this problemmy lengthy rsync transfers don't have this problemmy music player doesn't have this problemOP is a skill-free faggot as usual
>>107010549I can't run a ftp server on my old phone without it randomly slowing down until I unlock the screen
>>107010549>for no reasonphones and tablets are battery poweredkeeping things running uses more batterythat's the reason>inb4 it makes no sense for my use casesure we can argue about that how much you want, but if you think this problem exists for "no reason" you're beyond retardation
>>107010549that's what you get for mentality: having root is an attack vector, linux phones don't have this problem, enjoy your toy OS
>>107013700My fucking web browser has this problem.
>>107014542this
>>107010549i have apps running in the background right now on my samsung galaxy s23. there's even a tab for background apps that run 24/7 in the little app switcher screen. fuck are you on about
>>107014476Android is literally Linux (the only successful one, might I add)
>>107015276because they have .apk files, desktop l00nix needs a format like this for software distribution instead of relying on the dumb online black screen
>>107010549>closes your app for no reasonCheck the stacktrace.>>107010549>no way to get your app running 24/7Wake lock.>>107016347I don't understand what you mean. APK isn't that far away from a Snap or Flatpak or AppImage conceptually. Those files are also orthogonal to their actual distribution, aren't they? Why does a terminal matter?
>>107010668>if the activity has bee unloaded
>>107014216>keeping things running uses more battery>that's the reasonSOMEHOW THIS ISN'T A PROBLEM FOR TWENTY MILLION BILLION TRILLION PETABYTES OF ANALYTICS AND TELEMETRY BUT IT'S A HUGE PROBLEM FOR FIREFOX DOT APKFUNNY HOW THAT WORKS
>>107014216delusional