Un Service este o componentă Android pentru efectuarea operațiilor fără interfață grafică — de obicei lucrări de lungă durată în fundal. Există diferite tipuri (foreground, background, bound), fiecare potrivit pentru nevoi diferite, deși Android modern favorizează WorkManager pentru multe cazuri.
Ce este un Service
A SERVICE runs operations WITHOUT a UI (not tied to a screen):
→ for work that should continue regardless of UI (or independent of any activity)
→ declared in the manifest; runs in the app's process (main thread by default — must
move heavy work off it!)
