1

I want to build my app in HTML, and bundle it as Android application with a single WebView.

How do I access database? (sqlite I guess)

I don't want HTML5 storage, because that's limited -> unreliable.

My solution would be to write a JS interface for storing data, but that feels like reinventing the wheel.

Is there already something that lets my JS talk to SQlite through the webview?

1 Answer 1

1

I recommend PhoneGap http://phonegap.com for not re-inventing the wheel :)

Sign up to request clarification or add additional context in comments.

1 Comment

Well PhoneGap looks really great. But it has only HTML5 database which is limited. But they've taken care of the bridge, so it shouldn't be too hard to add support for real database. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.