facebook

SQLite

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

    hoballah
    Participant

    Hi,

    where can I find an example with database. Best with SQLite. Or how ca i open Database with javascript?
    In which directory do I copy the database on my smartphone?

    #342183 Reply

    Brandon
    Member

    Check the Note Pad screen template, it has all the info you need to setup and use a database

    http://cincyplanet.com/mobione/templates/

    #342213 Reply

    hoballah
    Participant

    In the script of NoteHome.mobi:

    Change below to your own database name.
    You will also need to find the action in your html and change the action below to reflect the same action number. This is generated by Mobione and will change for each project.

    What does that mean? Where can i find the action?

    I need a simple example. Because i do not have enough experience with MobiOne.

    #342231 Reply

    support-michael
    Keymaster

    MobiOne applications are built on HTML5. There are tons of google-able examples online for use of html5 sql database. Here are a couple that will get you up to speed with the async javascript sql api. This trips up many developers that have limited experience with javascript and working with callbacks:

    http://html5doctor.com/introducing-web-sql-databases/

    http://blog.darkcrimson.com/2010/05/local-databases/

    A couple of other points:
    You should also be aware that webdb/websql is not supported by the w3c standards body. Also I recommend if you wish to use the websql inspection tools that you use the new Mobile Web Simulator with Chrome available only in MobiOne 2.5 milestone-1 atm (http://genuitec.com/mobile/download.html

    #342306 Reply

    hoballah
    Participant

    I want to test NoteHome.mobi:

    What does that mean?
    Change below to your own database name.
    You will also need to find the action in your html and change the action below to reflect the same action number. This is generated by Mobione and will change for each project.

    Where can i find the action?

    #351525 Reply

    aklisiewicz
    Member

    here simple and interesting question was asked.
    Obviously the replier did now the answer so he pretends he at least knows something….

    I was looking for exmaples as well but could not find it.
    People point you to the stupid links while not answering the SIMPLE QUESTION.

    Any example of SQLite App that I can download , compile , run – then study ?
    without modifying, researching digging in html etc. ?

    looks like there is not

    #351527 Reply

    support-michael
    Keymaster

    >Any example of SQLite App that I can download , compile , run – then study ?
    without modifying, researching digging in html etc. ?

    Give this simple db project a look:
    http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=6217

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: SQLite

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