我在OpenShift Cloud中运行轻量级API.我刚刚意识到48小时后应用程序进入IDLE模式.有没有ping服务来避免这个问题?
最好
中号
我在模拟器上使用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)
我只是在模拟器上尝试过.任何的想法?