ஒரு Service என்பது UI இல்லாமல் செயல்பாடுகளைச் செய்ய ஒரு Android கூறு — பொதுவாக பின்னணিയில் நீண்ட கால வேலைக்கு. வெவ்வேறு வகைகள் உள்ளன (foreground, background, bound), ஒவ்வொன்றும் வெவ்வேறு தேவைகளுக்கு ஏற்றதாக உள்ளது, இருப்பினும் நவீன Android பல சந்தர்ப்பங்களில் WorkManager ஐ விரும்புகிறது.
ஒரு 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!)
