Run Gps as background service and Compare the received current Location Data with value in Sqlite?
问题 I know there are many questions that have been asked regarding this and i have been going through all that from couple of days but couldn't find a reasonable answer.I am newbie to android so i have no idea how things get done. Basically I want to know how to run GPS as a service in background like when the application is installed it starts and how to compare that data received from gps background service with data in SQLite Data Base. 回答1: you can make service like above , this service get