Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7552537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:46:54+00:00 2026-05-30T10:46:54+00:00

I am using Phonegap 1.3.0, and want to develop an app which uses local

  • 0

I am using Phonegap 1.3.0, and want to develop an app which uses local storage. Some googling brought me to sqlite, but i have had no success in implementing it in my app.

https://github.com/davibe/Phonegap-SQLitePlugin

I tried this link but i am really not sure what this lawnchair.js is all about.
Sqlite is my priority but I can try other options too. I also tried window.opendatabase() but it doesnt work in my app.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:46:55+00:00Added an answer on May 30, 2026 at 10:46 am

    Lawnchair is a wrapper over many storage methods. There is localstorage, sqlite, blackberry specific, and others.
    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.

    What makes lawnchair easy to use is that we don’t have to deal with sql syntaxs (assuming u want to use sqlite adapter.) You just store and retrieve your data in JSON by

    table.save(key:"obj", name:{a:"aaaa", b:"bbbb"})
    
    table.get(key:"obj", function(ob){
      //callback
    })
    

    and internally lawnchair will save data in sqlite.
    You can use any adapter, but all u have to use is the above syntax. easy. lawnchair is a powerful wrapper over many storage options. check it out

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm planning to develop web app using html.(using html tool like phonegap). I want
I'm using phonegap to create mobile app. I don't want to have everything in
I develop an app using PhoneGap. I got a service which is in background
I want to implement SQLite database for iPhone using PhoneGap. I know some basics
I am using phonegap to develop my android application.I want to show google chart
I want to build a phone app using phonegap that can access data on
Is it possible to launch one app from another using Phonegap? We want to
I have created sqlite database using phonegap. I am able to access that databse
I am using phonegap to develop one of my iPhone app. In the index.html
I am developing an app using phonegap for Android. I want this mobile application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.