एक Service Android को एक component हो जो UI बिना अपरेशनहरू गर्न — सामान्यतः पृष्ठभूमिमा लामो समय चल्ने काम। विभिन्न प्रकारहरू (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!)
