I'm a complete beginner here and with Android Studio. Essentially, I'm trying to create a piece of code that does periodic checks whilst the app is backgrounded, however I'm unsure as to how to do this. Would I need to use a background service or something else?
I'd really appreciate any help.