Hello,
Maybe you can take a look at the samples included by the proram romarom. We no need any Cordova's plugin to deal with JSON. We can use action slike NewObject, SetObjectProp, StrSerialize, StrUnserialize, SetOption, GetOption, etc. The Report control is also capable to parse JSON automatically. We only need a Cordova's plugin (the Files plugin) if we want to store more than the Mega Bytes allowed by the app's storage, which can vary between browsers.
App Builder already includes samples which deal with JSON, however, I want to add another one (some kind of "Agenda" sample) when possible.
Hello,
No. PHP is not needed at all to deal with JSON, except if the JSON come from a server. We can deal with JSON data (text files and "real" JSON objects) from App Builder without PHP or any server assistance. In fact, we can read and write JSON data and store it into the app's local storage (various MB at our disposition) and we can also read and write JSON text files (with more space available), using the Files Cordova's plugin, which is ready out of the box in App Builder.
As I say before, what must be our approach depend on the application we are developing.
Hello,
But you are trying to porting some application into App Builder? I say you have other options to manage data without the use of SQLite. I have anything againts SQLite, but the current browsers' support is not quite good, and we have alternatives. Depending what you want we can take one or other approach. For what kind of information you need to use an SQLite database?
P.S. Of course you can continue trying to use SQLite following the above links.
Hello,
Happy Easter too! Please, romarom, take a look at the External app sample included by App Builder. That sample show us how we can use Javascript from our applications. No matter if we use Javascript declared in certain Javascript file, which you know we can include in the application from the app's file's manager. On the other hand, can I ask why you need to access Sqlite?
If you want, for example, to store user's or app's options, we can do it without the need to use any external Javascript at all, for example, using the app's local storage.
Hello,
I am not an expert in this field, but, a quick search in Google point us to this StackOverflow thread, where an sql.js project is mentioned. So take a look at all of theese resources: continue the search in Google, read the StackOverflow thread and finally take a look at the mentioned JS project and probably others if you can found them.
Anyway, remember we can deal with JSON, text files and the app's local storage "out of the box", then maybe you no need SQLite at all, except if you need to consume already existing data in SQLite...
lHelo Ade,
A rare scenario, since App Builder don't use Node nor Android SDK nor internet connection. in order to generates the BAT files for Apache Cordova. In fact they don't need Apache Cordova to do that. Probably is a problem with the write permissions and the directory in which your application is placed, but again, App Builder does not require admin privileges at all... in normal circumstances...
Hello,
Hi Guys,
The issues has been solved.
Thanks.
Glad to know Ade! Finally you found what happend?
Hello,
Sorry, but, if you have a new question, start a new forum's thread. On the other hand, it's not a good idea to ask a question and then just forget it, including my answer. Please, take care about your participation in this forum.
I close this thread.
Hello,
No problem. Just post here if you think I can do something or just to say everything is OK. :)
Hello Ade,
About the Cordova installation, you know, probably it's a question of some dependency not well installed. Try to follow the tutorials step by step and "google" for help searching for the error messages you found.
However, the BAT files generation is not a Cordova's problem, that is, in fact App Builder do not need Cordova until build an application using some of the generated BAT files: but before that App Builder does't know about Cordova.
The problem here is I can't reproduce the problem Ade. The program works as expected here in my PC and laptop computers, and nobody complains about this, so probably is a problem in your own specific system.
My recomendation is to assert the application's directory is writable, for example, place it into your desktop, since such directory is writable, at least by default. Try with a folder you know are not read only.
Take care about the running programs too: antivirus or something like that. And also try App Builder in another system (if possible) to try to reproduce the problem.
I can't do too much until can't reproduce the problem here! :(
Hello,
The "CTRL + F9" shortcut runs the last compilation/build if exists, or build a new one before run it. This operation does not requires Java nor the Android SDK, then, I really can't understand what can be the problem. Why you talk about Java or the Android SDK? Can you view some error message or something like that?
Hello,
Are you take in consideration than the "Debug" button does not creates the BAT files? On the contrary than the "Build" button, who creates the BAT files, if we check the appropiate app's options. Certainly the BAT files generation works fine here in my PC, Ade, as well in my laptop, and I did not receive any other error report like that...
So I really are also interested in what can happend here...
Hello,
Hi David,
Hum... maybe it's this day... but I can't view nothing abnormal... except you have a fast computer than mine. :)
What is what I am missed? :)
Hello,
I am using enterprise version and I have administor issues.
I never deal with the admin mode, except when needed. App Builder does not require admin privileges, but, if they need to write in certain directory, then such directory must be writable by the user. But the program itself (nor Apache Cordova or any other related) does not require admin privileges.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.