简体   繁体   中英

Phonegap on android support localstorage?

My question here is twofold:

1) Does Droidgap (or Phonegap for Android) support localstorage in the browser. Does phonegap simply make use of android's native browser (and if so, does this mean it supports html 5 local storage?)

2) Is there a way to debug an html5 webapp running on the phonegap platform in Eclipse? I'm running my application and it fails everytime I send a request to my server, however I see no error in logcat...

Thanks a lot!

Yes Phonegap supports localstorage, as you can check here http://docs.phonegap.com/en/2.0.0/cordova_storage_storage.md.html#localStorage

Your javascript output should all appear in logcat.

PhoneGap does indeed support localstorage.

I was able to receive logs from my app by inserting log statements in the HTML/Javascript itself and look at the config files server-side. Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM