- This topic has 3 replies, 3 voices, and was last updated 11 years, 1 month ago by support-michael.
-
AuthorPosts
-
badal405MemberI 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.
nvtsMemberHello,
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…
badal405MemberHello
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.jsBut 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.
support-michaelKeymasterPlease avoid cross posting.
See my follow up here http://www.genuitec.com/support-genuitec/viewtopic.php?p=21060#p21060 -
AuthorPosts