重启后Android设备服务是停止还是不停止 [英] After Restart Android Device Service is Stope or Not

查看:70
本文介绍了重启后Android设备服务是停止还是不停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我使用后台服务每隔1小时在服务器上添加上传Lat Long的功能。我的后台服务每隔一小时获得Lat Long并在Server上上传。我的服务工作Pwrfect ,设备重启时问题比我的服务不起作用。



我的问题是:

- >当设备重启服务时是否自动?

- >如果Service Stope比我再次开始服务怎么办?

- >我们如何检查服务是否正在运行或停止?



请给我以上问题答案。

谢谢。

Hello,
I have add funcationality of Upload Lat Long on Server at Every 1 Hour,using Background Service.My Background Service get Lat Long Every One Hour and Upload on Server.My Service Work Pwrfect,I have problem when Device Restart than After my Service Not Work.

My Question is:
->When Device Restart service stope automatically or not ?
->If Service Stope than how i start Service again?
->How We Check Service is Running or Stope?

Please Give me Above Question answer.
Thank you.

推荐答案

Hi Patel Rajesh,



只需浏览链接 [ ^ ]





link 2 [ ^ ]





这可能太多了

Link 3 [ ^ ]



如果您遇到任何问题,请尝试获取日志cat数据,以便更容易找到并修复它。



谢谢

Ganesh
Hi Patel Rajesh,

Just go through this link[^]

and also
link 2[^]


this may too
Link 3[^]

If you are facing any problem try to get the log cat data so that it is easier to find the bug and fix it.

Thanks
Ganesh


这篇关于重启后Android设备服务是停止还是不停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆