Giter Site home page Giter Site logo

ionic-example-sqlite's Introduction

Ionic Framework SQLite Example - One Word Save

An example Ionic framework that use ngCordova's SQLite plugin.

According to my training session. I decided to provide a quick, clean example, to show how to save/load data from SQLite database in mobile application which built on Ionic framework technology.

I used Ionic CLI version 1.3.19.

Installation

After clone the project, you need to add your platform and ngCordova's SQLite plugin:

ionic state restore
cordova plugin add https://github.com/litehelpers/Cordova-sqlite-storage.git
ionic platform add android
ionic platform add ios

Then go on.

Important Note

ngCordova's SQLite plugin doesn't work on Web browser. You've to run the project in Simulator or real device.

Instruction, Explanation, and tutorial

I explain all essential part of this app in my blog: http://nextflow.in.th/en/2015/easy-way-to-work-with-sqlite-database-in-ionic-framework/

Contact me for training service

[email protected] Tel (+66) 86 661 5058

ionic-example-sqlite's People

Contributors

teerasej avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ionic-example-sqlite's Issues

Install not working!

Hi,
I can't install this plugin via command line: cordova plugin add https://github.com/brodysoft/Cordova-SQLitePlugin.git
I'm having this error:
Fetching plugin "https://github.com/brodysoft/Cordova-SQLitePlugin.git" via git clone Repository "https://github.com/brodysoft/Cordova-SQLitePlugin.git" checked out to git ref "master". **Error: Unexpected string**

Is there any other way to install this plugin? Is there some dependencies that should be installed a priori?

there has a problem...

when i click the save or load ,thow an exception “Cannot read property 'transaction' of undefined”?thy? thanks fro your answer

Where is tutorial Link

Hi! I was just exploring your project but couldn't find the link for your blog, as mentioned in the readme. Lemme know the link of tutorial & explanation

ionic 2

Does this example work with ionic 2 ? if so how do i convert it

TypeError: Cannot read property 'openDatabase' of undefined

Hello when i clone your code i have this error occurred

TypeError: Cannot read property 'openDatabase' of undefined
    at Object.openDB (ng-cordova.min.js:9)
    at app.js:46
    at Array.<anonymous> (ionic.bundle.js:56207)
    at onPlatformReady (ionic.bundle.js:2496)
    at onWindowLoad (ionic.bundle.js:2477)

Please let me know if you have solution.

nothing happens

When I have installed this app in my android phone and run this app and try to save message in it.It didnot save my message and did not load anything .

Does not work on Android 2.3

Hello,
I tried running this app on android 2.3 but it does not work.
However, when I install same on 4.x it works.
Can you please find out the issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.