一段时间后间隔在后台运行的android活动 [英] android activity running in background after some time interval

查看:80
本文介绍了一段时间后间隔在后台运行的android活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要在5分钟的时间间隔后在后台运行我的android活动,当设备打开时,设备每隔一个间隔就将数据发送到服务器.

I want to run my android activity in background after 5 minute time interval continuously when device on upto off the device each interval it send data to server

推荐答案

I认为Android Widget或Android Sync的最小延迟时间超过5分钟(可能是30分钟或1小时).如果延迟时间不足,请不确定是否有其他方法.
I think Android Widget or Android Sync have a minimum delay that is more than 5 min[may be 30 min or 1 hrs].If the delay is not sufficient.not sure whether there is any other method or not.


这篇关于一段时间后间隔在后台运行的android活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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