小编mbo*_*kle的帖子

Ping服务从IDLE停止OpenShift应用程序?

我在OpenShift Cloud中运行轻量级API.我刚刚意识到48小时后应用程序进入IDLE模式.有没有ping服务来避免这个问题?

最好

中号

cloud redhat openshift

15
推荐指数
2
解决办法
6244
查看次数

locationManager didFailWithError null phonegap模拟器

我在模拟器上使用IOS的位置服务有以下问题:

使用带有xcode 4.5.2的phonegap 2.2.0,

Cordova.plist EnableLocation = YES

navigator.geolocation.getCurrentPosition(myPositionSuccess, myPositionError, {maximumAge: 300000, timeout:10000, enableHighAccuracy : true});
Run Code Online (Sandbox Code Playgroud)

永远不会调用myPositionSuccess,并在navigator.geolocation中出现以下错误

locationManager::didFailWithError (null)
Run Code Online (Sandbox Code Playgroud)

我只是在模拟器上尝试过.任何的想法?

xcode geolocation ios-simulator cordova

8
推荐指数
2
解决办法
4793
查看次数

标签 统计

cloud ×1

cordova ×1

geolocation ×1

ios-simulator ×1

openshift ×1

redhat ×1

xcode ×1