Stuck in Tutorial Hell? Learn Backend Dev the Right Way
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn to build a GPS update service for Android that sends coordinates to Cloud Firestore in the background. Explore how to create a service that continues running even when the app is closed, updating coordinates every 2-4 seconds. Dive into topics such as creating service packages, implementing location providers, handling location requests and results, saving user locations, and managing service intents. Follow along with provided source code and gain practical insights into developing location-based Android applications.
Syllabus
Intro
Special Conditions
Create Services Package
Get Service Class
Add Service to Manifest
Location Provider Client
OnCreate
MainActivity
On Start
Start Not Sticky
Location Request
Location Result
Main Activity
Location Updates
Save User Location
Logging Out
Starting the Service
Starting Location Service
Service Intent
Running the service
Taught by
CodingWithMitch