- This topic has 6 replies, 4 voices, and was last updated 10 years, 5 months ago by
support-michael.
-
AuthorPosts
-
hoballahParticipantHi,
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?
BrandonMemberCheck the Note Pad screen template, it has all the info you need to setup and use a database
hoballahParticipantIn 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.
support-michaelKeymasterMobiOne 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
hoballahParticipantI 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?
aklisiewiczMemberhere 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
support-michaelKeymaster>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 -
AuthorPosts