0

My application is a GPS tracking, after every 2 mins, the latitude and longitude are stored into database. If user manually stops the application from

settings->manage application->our app --->Force stop

I need to start the app again. Is it possible?. Google play service starts again ,if we force stop the application. Why this one is possible?

4

1 回答 1

5

如果用户明确选择终止应用程序,我不确定为什么要启动服务。但是,您可以在启动时自动启动服务。参考链接:Android - 在启动时启动服务

于 2013-09-25T18:50:12.550 回答