Posts by Ryan Sytsma

Show threads by Ryan Sytsma
109 posts found, page 2 of 8

Ryan Sytsma (In thread: Problems to register AB1 release 2019.56)
I upgraded to 2019.56 today, and the AB install need to be registered again. I entered my Username and Serial number but the credentials are not getting saved. 2019.56 continues to show "Unregistered"

Ryan Sytsma (In thread: Watcher and sequencing javascript)

I deleted the Cache and Compiled folders just in case something is not compiling clean. Now the output in the console is this. I am not sure what this means.


Ryan Sytsma (In thread: Watcher and sequencing javascript)

All of the samples and documents for this plugin use "tx" or "transaction" inside of the db.transaction callback.

https://github.com/brodybits/cordova-sqlite-test-app

https://github.com/xpbrew/cordova-sqlite-storage#sample

I built this test app using AB 2020 as detailed in this link, and it also did not work. ( https://github.com/brodybits/cordova-sqlite-test-app/blob/master/www/app.js ). The only feedback I get from the console is that the database is waiting to close after I issued a close command. It seems like something is not getting released by the plugin.

Offline data is critical to this app... I have to get this or another offline solution working.


Ryan Sytsma (In thread: Watcher and sequencing javascript)

David, I got the ABD working. It is very helpful.

So, here is something interesting. I got this code to work when the first view event "Show" fires.

and here is the output of the console window...

However, after this JS code finishes, no other code will run. Even code I put into the success callback such as this...

...will not execute. I also quickly built this same code in the new AB 2020 with the same results.


Ryan Sytsma (In thread: Watcher and sequencing javascript)

This time I got an error that 'adb' is not regocnized as an internal or external command, operable program, or batch file


Ryan Sytsma (In thread: Watcher and sequencing javascript)

using the Run bat is launching the app on my connected tablet but the console window (npm) does not show any console.log out put.


Ryan Sytsma (In thread: Watcher and sequencing javascript)

I followed the directions here ( https://www.getappbuilderhelp.com/help/en-US/apache-cordova.html#batchfiles-integration ) and the app gets launched to my attached Andoid, but the debug console in the AB does not fire up


Ryan Sytsma (In thread: Watcher and sequencing javascript)

The larger issue is that I have about 10 Http Get calls to make do load data into the Sqlite database for offline use. I need to chain those calls together so they run in order of 1:Many relationships. Each Http control is going to have a matching Sqlite insert function similar to the one in this post. So what I was envisioning was some like:


Ryan Sytsma (In thread: Watcher and sequencing javascript)

If I add this callback to the db.transaction, I dont get the alert or an error:

this version does not alert either:


Ryan Sytsma (In thread: Watcher and sequencing javascript)

I am having problems getting a watcher to work, and I am trying to sequence some javascript to run in the right order.

Fire off watcher start....I get the "watcher start" alert first.

Run this JS code to create a SQlite database, create a table, and add a record.

Now set the watcher variable value to something...

I do not get any response from my watcher... None of this watcher code fires off

Not sure what is going on


Ryan Sytsma (In thread: set Javascript resultset to AB 2019 array)

I have this code to select a record set from a SQLite database using the cordova-sqlite-storage plugin.

Will AB script recognize that this variable is an array or do I need to append it to an array?


Ryan Sytsma (In thread: Controls Enable and Disable)
Ok, thank you. Disable and Enable functions were not working for me.

Ryan Sytsma (In thread: Controls Enable and Disable)

I am seeing that in all cases, this code will set controls as disabled = true.

This code is in the "ItemClick" event and the "Change" event. The default setting of [selectContract] Disabled = False

The control will alsays go from not disabled to disabled, but not toggle depending on the value typed in the typeAheadCustomer control.


Ryan Sytsma (In thread: App Builder 2019)
Got it all up and running again. Thanks

Ryan Sytsma (In thread: App Builder 2019)

David. Still having build issues. I installed NPM, Cordova, JDK, Android Studio with SDK 28 and 29.

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.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.