PhoneGap的应用程序内浏览器和本地存储 [英] Phonegap In App Browser and Local Storage

查看:133
本文介绍了PhoneGap的应用程序内浏览器和本地存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建一个使用HTML5 / jQuery和PhoneGap的应用程序在浏览器Android应用程序。我将显示在应用程序浏览器中的网页,

I am going to create an Android application using HTML5/jQuery and Phonegap In app Browser. I will display web page inside the In app Browser,

我想实现一个用户只输入他的姓名的功能时,他第一次访问的应用程序。

I want to implement the functionality that the user only enters his Name when he first time access the application.

我可以使用的PhoneGap的本地存储保存价值,但无法找到如何内部访问该值在应用程序浏览器。

I can save value using Phonegap's Local Storage but can't find how to access this value inside In app Browser.

任何帮助将非常AP preciated。

Any help will be much appreciated.

感谢。

推荐答案

我只是测试它,但它似乎像inappbrowser和手机的差距的应用程序使用不同的localStorage就好像它们是两个不同的浏览器实例。

I just tested it but it seems like the inappbrowser and your phone gap app uses different localStorage as if they are two different browser instances.

这篇关于PhoneGap的应用程序内浏览器和本地存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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