【问题标题】:setTimeOut function not invoked when the device goes idle - android titanium mobile?设备空闲时未调用 setTimeOut 函数 - android Titan mobile?
【发布时间】:2012-07-27 07:41:58
【问题描述】:

我在延迟 20 分钟后使用 setTimeOut 调用方法。在 iPhone 中它工作正常,但在 20 分钟后在 android 中没有调用该方法。如果我们更改为 1 分钟,则调用该方法。我猜设备在 android 中闲置可能存在一些问题。

【问题讨论】:

    标签: android mobile timeout titanium


    【解决方案1】:

    我认为您需要使用 appcelerator 后台服务,但有 10 分钟的限制。

    【讨论】:

      猜你喜欢
      • 2011-03-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多