Mobie
Mobie

Reputation: 1900

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!

Upvotes: 1

Views: 2976

Answers (2)

Mobie
Mobie

Reputation: 1900

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

Upvotes: 0

RCM
RCM

Reputation: 29

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.

Upvotes: 1

Related Questions