我在我的应用程序中集成了twitter API以发布消息.它正在生成这样的异常:
oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: No peer certificate
Run Code Online (Sandbox Code Playgroud)
@ Pawan关于将设备时间更新为当前时间的评论解决了这个问题.
我必须从位于项目中的文件夹中读取JSON文件.
我使用以下代码:
var obj = "www/places.json";
Run Code Online (Sandbox Code Playgroud)
如何www使用Javascript 读取iPhone PhoneGap 中项目文件夹中的JSON文件?