I want my app to keep running in the background (Android)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By X

I’m making a simple reproductor for music. I want it too keep running when i look the screen of when i change the focus to another application.

How can i do that?

yes but the dude in there don’t even say if he actually get what he wanted. Plus is not really clear the steps to go

X | 2022-01-06 04:10

:bust_in_silhouette: Reply From: Wakatta

Adding to what deaton64 said, found this interesting read and this is what you’re looking for.

Sorry but you won’t be able to avoid Java so if you haven’t already, learn android-dev or at least the parts specific to your purposes.

wait, i dont get it. im supposed to make a diferent document in java then put it into the root of my game or so?

X | 2022-01-06 04:12

Correct. The above was just to illustrate that it’s possible. The complete guide is here

Wakatta | 2022-01-06 11:51