Android Question make foreground app

king_mkv

Member
Hi everyone.
I'm new in b4a and want to make an app (a bot for an Online game) to request to the game server every 5 minutes.
I did it with Python and run with Termux with WakeLock but I can't do it in b4a.
are there any solutions for me?

I know I should use services and I do! but I'm using Android 12-13 and the os will kill my app. I looked at the Location Track project but even it didn't work on my phone.

My Phone: Samsung A51
 

agraham

Expert
Licensed User
Longtime User
Read this thread
 
Upvote 0

king_mkv

Member
Read this thread

Can you write a simple code for this? like show toast every 5min even app is closed.
 
Upvote 0
Top