I have an Android app with an AlarmManager that repeats every 15 minutes. Depending on the results from this I want to update the UI, but I don't want Android to bring the app to the foreground if it doesn't have focus already.
How can I do this? Alternatively, how can I make the UI updates run in onResume?
I'm calling methods like public static void updateRunningStatusTextView(Boolean inStatus)
on the main activity from services and classes