Posts by DecSoft

Show threads by DecSoft
3355 posts found, page 91 of 224

DecSoft (In thread: Using cordova-plugin-background-mode)

Hello Desmond,

Maybe you are trying to execute the app in a browser? If so, certainly, "cordova" is not defined... "cordova" is defined (and ready to use) if you try the app in an Android device, for example.

If you want your app running in Cordova platforms and also in browsers, or just avoid the issue in browsers, then you must take care before use the Cordova's stuff, for example, with the below code in your app's Ready event:


DecSoft (In thread: Using cordova-plugin-background-mode)

Hello Desmond,

What the error message means? That we are trying to access to some "setEnabled" property (or method) that is not available in "App.Cordova.backgroundMode". This already tell us something useful...

If we take a look at the plugin's documentation, apparently we must use one of the below methods:

And that must work... so the error is more or less clear here: we are trying to use a "setEnabled" method which is not present in the variable that we are specifying. Try with one of the above methods, taken from the plugin's documentation.


DecSoft (In thread: Issue to show the view's event code editor)

Hello Paolo,

That's quite rare... since its working here... please, assert that you select the view that you wanted and not the master one... of course, if you select the master view and then press F11... the master view's events code editor appear as expected... but if you select another view... what we see is the events code editor of the selected view, just as expected...


DecSoft (In thread: Issue to show the view's event code editor)

Hello Paolo,

Yes; I know about that issue in the past, and, in fact, the solution that we take is to use a shorcut key. You can select the view that you wanted in the Views list, then press the F11 key, and, the selected view's events code editor appear ready to be used.


DecSoft (In thread: VisualNeo Web vs. DecSoft App Builder)

Hello Paolo,

Nope! I made several plugins (from long time ago) for NeoBook... which now is Visual Neo Win... but not for Visual Neo Web... which is a completely different product than NeoBook and Visual Neo Win. DecSoft NeoPlugins are made for NeoBook and Visual Neo Win, not for Visual Neo Web.


DecSoft (In thread: VisualNeo Web vs. DecSoft App Builder)

Hello Paolo,

It's a question that I can't answer... since I don't use that software nor try it except in their very first beta stage. It's something that you must see, Paolo: you can try both systems and decide what can be good for your purposes. Ok, you already purchase a license of App Builder... but that don't mean that you can't try another possible alternatives, and finally pick the best one for your purposes. Of course, if you have any specific question I can try to help you.


DecSoft (In thread: Using cordova-plugin-background-mode)

Hello Desmond,

You mention that you get an error... but don't specify the error message! Anyway, I receive an E-Mail from you (I want to reply it after reply this post) in which you use the below line in the App Options -> Cordova -> Batch -> After:

I am not sure about the error (please, if this answer don't solve the problem, post here the error message that you get!), but, probably its an installation problem, since the above line must be changed by the below one, which is the correct:

Another way can be to use the App Options -> Cordova -> General -> Custom plugins. If you want to use this way, then you must specify in the Custom plugins input only the plugin ID, without any other thing, for example:

Please, try the above ways of installations of the Cordova plugin that you want to use, then try again with the plugin's API, and, if you have any error, please, refer here the error message in order to try to help you.

P.S. Remember that the Cordova API and the Cordova's plugins API are available inside the app's Ready event or after that event: if you try to use before that event, Cordova nor their plugins are not available and therefore you can get some unexpected behaviour or error.


DecSoft (In thread: Feature Request: Adaptive Icons)

Hello Harald,

Yes; I am also studying here about adaptative icons: apparently Cordova is ready to use it, so, maybe I can understand what App Builder can do in order to suport it in the best possible way. I will post here any possible progress.


DecSoft (In thread: Feature Request: Adaptive Icons)

Hello Harald,

Maybe I must study more about "adaptative icons", because, certainly its something confuse to me. "Older" Android versions (Android 6, for example) shown perfectly well squared icons, and also rounded icons. So I can't understand why a recent version of Android break something like that... well... apparently what Android wanted (at least in the 9 version) is that all the icons appear "rounded"... or at least inside a "circle"...

Maybe adaptative icons can solve something like that, but I am not sure, to be honest, since in the capture that I shown above I can't see any square icon... that don't appear inside the "system circle icon"... even GMail, for example, appear "inside the circle".

If your fear is about how square icons look in "older" Android version, you no need to worry: the icons appear "as they is", squared or rounded. Apparently Android 9 introduce the "circle to place not rounded icons"... and I am not sure if the referred "adaptative icons" is the "solution" to deal with this, since, at least rounded icons appear fine, like the default App Builder's apps icon.


DecSoft (In thread: Feature Request: Adaptive Icons)

Hello Harald,

In fact, App Builder already generate various icons for various platforms based in the provided app's icon. I think that the icon itself have something to say here... for example, the below capture shown an Android 9 version with various icons:

As we can see in the above capture, various icons appear as you described (if I am not wrong), including the icon of certain app (right icon at the first row) that I develop appear like you describe. However, if we look the default App Builder's apps icon, they don't appear in the same way. So... if I am not wrong, maybe the icon's design is important here.

A "rounded" icon, similar than the default App Builder's apps icon, appear fine to "fill" all the space. Other "square" icons can't fill in that space and therefore appear like you describe and we can see int he above capture.


DecSoft (In thread: Debugging javascript in HTML Compiler)

Hello Bryce,

You try the code in Internet Explorer 11? The WebControl in HTML Compiler try to emulate that version of the browser, if available in the system, of course. Finally we can say that we are using the latest version of the installed or available Internet Explorer version. In principle, with this and other configurations that HTML Compiler does, our WebControl must work similar to Internet Explorer 11. Maybe with some issues, of course...

I will insists that, if I am not wrong, probably the error is a syntax error... something that is simply not supported by the WebControl / installed Internet Explorer version.


DecSoft (In thread: Debugging javascript in HTML Compiler)

Hello Bryce,

Are you try that code with Internet Explorer? We can't show any console like in Chrome, because the WebBrowser control do not provide something like that. Maybe out there exists some Javascript librarary for debugging purposes... but anyway, if we are talking, for example, about some Javascript syntax that is not supported by Internet Explorer or the Web Browser control... then probably we can't do nothing, except to try to search for a possible polyfill, as you already know... certainly the error message is not very clear... but it's what the system / WebBrowser control offer... maybe this leak of information mean something like that the error is a syntax error... something not supported in the Javascript engine that the WebBrowser uses...


DecSoft (In thread: Working with retrieved data)

Hello Peter,

If I understand well, what you need is to deal with the first item of the "docs.doc" array, or, after set it to the Report, deal with the first item of the Report.Data array. An array variable store their items starting by zero, so the "zero" is the first (and maybe in this case the unique) field of the array. So we can code something like this:

And the same for the other fields. Note that "doc.docs[0]" represent the first item in the array. I am not sure if the key is "FIRST_NAME": you must use the expected key(s), of course.


DecSoft (In thread: iOS problem with touch/click)

Hello Amin,

Certainly I am not very sure about what to do in AB for this case. Why if you use, for this specific case, Javascript events, instead of the AB controls? That is, is perfectly possible to prepare a code like the below one in your app view's Show event:

Can be a way to deal with it, Amin, if certainly the above event handler can do the job?

Below is a sample app that shown the above working in a sample button control. Copy the below code and save it in a file named "Sample.ab", then open this file with App Builder and run the app:


DecSoft (In thread: Drop files in the app's file manager)

Hello Asley,

Can be a good idea to take in consideration for a future release of the product, however, I am not quite sure if, in this case, force us to choose the files using the dialog can be better... just to take care about the file path that we are using... in order to let our apps to be shared across different computers...

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