Question: What is a foreground message?

  Blog

Question: What is a foreground message?

Answer

In Android, Foreground Services are
processes that need to run in the background
, when the application is not visible and must not be killed by the system. These processes usually interact directly with the end user, as in music players.