facebook

How MobiOne works with SQLLite

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #343080 Reply

    badal405
    Member

    I am sure through MobiOne there might be a way to save the data in a local database like SQLLite. Actually I want to make a simple registration form. Here below I am giving fields.
    1. Name
    2. Address
    3. Phone
    4. Email
    and save button.
    When the user click on save it will save to the database. It can be iPhone/iPad or android based any devices.
    It must show in a dynamic list where the user can view and edit data.
    Would someone please guide me how I can do this or help me by provide source code?
    I am using trial version. Before I buy I want to test something like this.
    Thanks in advance.

    #343085 Reply

    nvts
    Member

    Hello,

    It will work with SQLite and other databases. It does not have a code generator for CRUD on a database. You will have to write the code in your custom_app.js file to create & open the database, add the data that you will get from the mobione screen that you created, then to edit you will have to either create a list of the records or a search of some kind to get the record. Then have a screen to display the data to edit and a save/update routine to update the database, then a delete button on that page also to delete the record.

    Look at Wayne’s WebSQL demo for an example. This should help you out.

    http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=6217

    Cheers…

    #343175 Reply

    badal405
    Member

    Hello

    I have tried your example with MobiOne 2.5 milestone 2. When I tried with testing center, it has detected a problem which I am giving below.

    Problems were detected while exporting the design (See Details)
    list-db-example.mobi: (additional JS files) can not find file: C:\Documents and Settings\Md. Shaukat Hossain\Desktop\list-db-example\list-db-example\..\..\git-repos\mobione-listbuilder\MobiOneListBuilder.js

    But i found MobiOneListBuilder.js file into the folder and sub folder!!
    Furthermore, it is not saving data to my android mobile but working with google chrome with duplicate saving.
    Would you please tell me where is the problem?

    Do you have any example how MobiOne works with SQLLite? Please….
    Thanks and regards.

    #343181 Reply

    support-michael
    Keymaster
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How MobiOne works with SQLLite

You must be logged in to post in the forum log in