એક 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!)
