Posts by DecSoft

Show threads by DecSoft
3354 posts found, page 52 of 224

DecSoft (In thread: Google maps in AB1)

Hello Peter,

The idea of my code is to show you how to "convert" an Array of objects to your desired Array of arrays variable, but, I think the below can't do the job:

Certainly you are assigned some data to the "SourceObjects" variable, but, nothing happend then, you did not apply the code there, or, I can't see it.

I think it's better to use the JavaScript version of my sample, since you are already dealing with JavaScript code, so, the code can looks like the below one:

However, note that the above code can't work as expected, because you must change the below:

... in order to match your objects properties: for example, in my sample there is a property "Name" in the samples objects, but, maybe that property don't exists in your objects, or, may you want to use another properties. My code is just a sample which uses ficticious objects.

If I did not provide to you a real sample (using your source of data) is because I am not sure about the source that you get. So, please, try the above, and, if you wanted, post here the server's response, that is, the content of the "doc.data()" variable, but, be sure that you copy here the complete JSON (the idea is that you can get it from the developer console, but, not copying what you paste here: instead of it, you must copy here the entire JSON response, even if it's unformatted, that is not a problem) so I can take a look it.

I mean post here the contents of the red rectangle, and not the contents of the blue rectangle:


DecSoft (In thread: Google maps in AB1)

Hello Peter,

I am not completely sure about the specific source objects, but, figure out that you have an Array of Objects variable (apparently this is the source), and, what you wanted is an Array of Arrays variable (this is what the "locations" variable is), take a look at the below code, which I hope that can help you giving you the idea of what you must to do:

App Builder's code:

JavaScript code:

Both pieces of codes produces the same result.

Note for the readers: the above App Builder code refers to the previous generation of the DecSoft App Builder. The new generation of DecSoft App Builder don't provide "actions" like the previous generation do, but we can directly write JavaScript code instead.

DecSoft (In thread: Connect to a PostgreSQL Database)

Hello John,

Absolutely yes. Our apps can connect with any kind of server databases, with the right server's stuff, of course. You can take a look at the Database sample app, which include the PHP scripts (for the server) and uses a MySQL database (in the server). From such PHP scripts (in this case) we can connect with any kind of database engine instead of MySQL, PostgreSQL, for example.

In fact, client apps are completely abstracted about the server's software, language and database. What our client apps do is to made HTTP calls and get and process HTTP responses. So, supose you ask to the server for the "users" of your app. You made a specific HTTP call and your server's response consists in an array of "users" in a JSON, ready to be used by your app.

Then you can process and do whatever you need with the server's response, and, you never know (not need to know) where the server pick that "users" information: can connect to any kind of database, read certain server's file, use PHP, ASP, etc., etc. The client app is completely abstracted about the server, so, the answer is yes, you can deal with PostgreSQL databases, but also with MySQL, MariaDB, Oracle, etc.


DecSoft (In thread: Question Regarding Browser Plugins)

Hello to all,

Here is a sample video testing the WebExtension2 sample app:


DecSoft (In thread: Question Regarding Browser Plugins)

Hello John,

Well. First of all, I publish right now a new release of DecSoft App Builder, with some changes related with the WebExtension development. Between other changes, you can see a new "WebExtension2" sample app, that, once installed as a WebExtension in the modern browsers (I tested it at Firefox, Chrome and Edge), can do the following:

  1. Once the user click on the WebExtension browser's toolbar icon, allows the user to check or uncheck a checkbox control, in order to "start to catch" or "stop to catch" the possible HTML forms inside the browser's tabs.
  2. After the user check the referred checkbox, our WebExtension catch all the HTML forms in the browser's tabs, and, in fact, prevent the forms to be submitted: instead of this, you can see at the browser's developer console the data of the forms, as an example: you can do whatever you wanted with such forms data.

So, certainly, it's possible to do what you wanted, but, you need to take in consideration various things:

  1. As you can see in the WebExtension2 sample app, we only catch HTML forms which are placed in the HTML as... HTML forms... so we can't catch any other kind of "forms" (or HTTP calls that the page can made, for example).
  2. If you want any other kind of user interaction knowledge, you must act in a similar way than the WebExtension2 do. Instead of attach an event handler for the HTML forms, you can attach a "click" handler to the browser's tabs body, so you can know when a user click on a browser's tab, for example.
  3. Out of the scope of DecSoft App Builder, be very carefull with your users: if you plain to recolect any kind of user's information... you must inform to the user about your plains. So the user can know at any moment what your WebExtension do and for what purposes.

Finally, take a look at the referred WebExtension2 sample; take also a look at the changes in the current release of DecSoft App Builder, and, if you have any question about, just post it here, John.


DecSoft (In thread: New App Builder 2020.65)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: Gradle Problem?)

Hello to all,

Yes; I supose that install or upgrade Gradle can do the trick... but certainly the errors can be annoying: I expend more than eight hours yesterday and today with a Gradle issue... that I just can't fix yet... and I am talking about a project which must be compiled using Android Studio... it's a Java project, not a DecSoft App Builder nor Apache Cordova project... :-/

So I hope that Kim be ready and finally fix the problem!


DecSoft (In thread: Gradle Problem?)

Hello Kim,

Certainly, Grandle is a requisite for Apache Cordova / Android tools. I think it's installed with Android Studio, for example. You may can install Android Studio (reinstall it, or upgrading it can be a good idea), or may try to install Gradle itself. Maybe it's already installed but his pad is not added into your PATH system environment variable. Look at this too.


DecSoft (In thread: Problems to register AB1 release 2019.56)

No problem, Peter! :-)


DecSoft (In thread: Problems to register AB1 release 2019.56)

Hello Peter,

Please, sorry any possible inconvenience: your license has not been outdated in the last major release, I just forget to update your serial number. Please, grab your new serial number from your DecSoft customer area and post here if you have any trouble with it.


DecSoft (In thread: Problems to register AB1 release 2019.56)
You're welcome, Ryan! :-)

DecSoft (In thread: Problems to register AB1 release 2019.56)

Hello Ryan,

No; the licenses become outdated (if required) after a major upgrade only, not on every release! This information is placed in the program's history, that is, if we are talking about a major release or not, however, to give an idea, months must be passed until a possible major upgrade is released. And anyway you can always contact me in case of some problems, so I will try to help you.


DecSoft (In thread: Problems to register AB1 release 2019.56)

Hello to all

First of all, sorry for the possible inconveniences. Ryan, I miss to update your license serial number: your license is not outdated, and you can grab the new serial number from your DecSoft customer area. If you have any trouble, just contact me or post it here and I will try to help you.

Samuel, certainly, your license appear outdated, but, as you know, never expired: you can certainly upgrade the license (with a 50% off discount) from your DecSoft customer area, but, you can also download the latest outdated major release, so you can continue using your current license if you wanted.


DecSoft (In thread: Compiling Windows EXE)

Hello to all,

This post is to inform about this new release, which try to solve the problem with the app options and program options dock forms, around the "scrollboxes" and the problem to reach some options in some specific "small" screen resolutions. I hope this new release can be useful to you!


DecSoft (In thread: New App Builder 2020.64)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history

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 cookies only to store your preferences.

Ok! Hide this note More information