Answer the question
In order to leave comments, you need to log in
How to make a service that will run every minute and send coordinates to Firebase?
Guys, help a novice programmer, as a training, I wanted to write a service on android that will send the coordinates of the phone every minute to the firebase database, if it’s not difficult to figure out the coordinates and the database, then please explain how to organize the service itself so that every minute it executes the code for obtaining coordinates and sending them to firebase , just point them in the right direction , describe how best to implement such an undertaking .
Answer the question
In order to leave comments, you need to log in
I will not describe in detail. Words to google:
AlarmManager
BroadcastReceiver, WakefulBroadcastReceiver
Service, IntentService
Doze mode
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question