PhoneGap的,Lawnchair和饼干在Android中 [英] Phonegap, Lawnchair and Cookie in Android

查看:184
本文介绍了PhoneGap的,Lawnchair和饼干在Android中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Lawnchair在我的Andr​​oid应用程序的PhoneGap。对于大多数我的用户中,Lawnchair效果很好。但由于种种原因,我的一些用户说,设置不保存(我用Lawnchair与DOM适配器保存设置)。有没有我可以的PhoneGap为Android使用任何其它适配器?我看到的Cookie适配器,但它是Lawnchair的previous版

I'm using Lawnchair with in my Android Phonegap App. For most of my users, Lawnchair works well. But for some reasons, some of my users say that the settings are not saved (i use Lawnchair with DOM Adapter to save settings). Are there any other adapters that i can use with phonegap for Android? I saw Cookie Adapter but it is for the previous version of Lawnchair

感谢

推荐答案

有在lawnchair的适配器来存储的东西。
http://westcoastlogic.com/lawnchair/adapters/
结果
lawnchair工作的方式是,如果指定一个适配器,它将使用,或者如果没有指定的适配器,如果所有适配器的code追加到lawnchair.js文件,然后lawnchair检查哪一个在使用它们的顺序追加,拿起它找到合适的第一个。结果
此外,该DOM适配器工作正常,我的Andr​​oid应用程序。更新您的code到GitHub上的最新lawnchair。所以我想这个问题可能是在其他地方也一样,也许u的存储数据。退房。

There are many adapters in lawnchair to store stuff. http://westcoastlogic.com/lawnchair/adapters/
The way lawnchair works is, if an adapter is specified, it will use that, or if no adapter is specified and if the code of all adapters is appended to lawnchair.js file, then lawnchair checks which one to use in the order of they are appended and picks the first one it finds suitable.
Moreover the dom adapter works fine for my android app. Update your code to the latest lawnchair on github. So i guess the problem could be somewhere else too, maybe the data u are storing. Check out.

这篇关于PhoneGap的,Lawnchair和饼干在Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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