在手机间隙中运行https请求 [英] run https request in phone gap

查看:113
本文介绍了在手机间隙中运行https请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iphone开发phone-gap应用程序,我想访问https(json)请求使用JQuery.getJSON(url,函数),但只在应用程序中它不返回任何东西,但在正常的移动safari它工作很好,虽然它是工作正常作为http请求在phone-gap应用程序,但我想工作为https的安全原因,请帮助我。

i am developing phone-gap app in iphone and i want to access https (json)request using JQuery.getJSON(url,function),but only in application it does not return any thing but in normal mobile safari it works fine ,though it is working fine as http request in phone-gap app,but i want to work it as https for security reason,please help me.

推荐答案

我得到了我的问题的解决方案。当我使用iphone sdk 3.2运行phone-gap应用程序,能够访问https(json)请求,但是当我更新iPhone sdk从3.2到4.0,它开始工作fine.Now我能够得到https请求也在手机应用程序中的响应。

I got the solution of my problem.As I was running the phone-gap application using iphone sdk 3.2 then i was not able to access https(json) request but when I updated iPhone sdk from 3.2 to 4.0 it is started working fine.Now I am able to get response from https request also in phone-gap applications.

这篇关于在手机间隙中运行https请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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