Posts by DecSoft

Show threads by DecSoft
3403 posts found, page 97 of 227

DecSoft (In thread: Changes in external CSS file are not recognized)

Hello Harald,

Certainly that can happen. If the file size don't vary, then AB can't recognize the changes. On the other hand, remember that if we run the app without compile it, AB don't copy the possible changes files: because when we run the app AB "only" do that: launch the previously compiled app, saving time (for that reason the run option exists), however, we must take care, since the compiler don't enter in the stage, so possible changes files are not copied / refreshed.


DecSoft (In thread: Avanzar y retroceder los "slides" de un Carousel)

Hola Jordi,

El siguiente código mueve el Carousel "Carousel1" al siguiente "slide":

El siguiente código mueve el Carousel "Carousel1" al "slide" anterior:

Conviene notar que dichos métodos no funcionan del todo bien si el "interval" del Carousel es distinto de cero, es decir, si se está cambiando de "slides" automáticamente. Para que funcionen correctamente, dichos métodos han de usarse en un Carousel cuyo "interval" es cero.


DecSoft (In thread: Usage of the Cordova AdMob plugin in our apps)

Hello Amin,

May you can want to continue directly using the AdMob Cordova plugin, which is perfectly right. Anyway, the AdMob Javascript plugin of App Builder has been enhanced to allows to prepare interestitials before show it, among other changes, fixes and enhancements. The AdMob sample has been also enhanced to show the latest Javascript plugin changes.


DecSoft (In thread: New App Builder release 2019.26 (03/28/2019))

Hello to all,

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

Read the entire product's history


DecSoft (In thread: Changes in external CSS file are not recognized)

Hello Harald,

App Builder try the best in order to compile our apps. This mean to cache somethings, or to avoid to copy existing files, everything to get the app compiled as faster as possible. The system is not perfect and can be enhanced, of course.

If you change a CSS file and AB can recognize it (this mean that the file size changes) then AB copy again the file to be ready to use by the app. The compiler cache don't matter here, since the AB decision to copy or not the file is only if consider that the file has been changed.

What probably happen is that you launch the app without compile it before, something that is completely useful sometimes: because we can launch the app without compile it again. But if we do that... the compiler don't have the change to detect file changes and then copy it again.

Also is possible that we don't save the app. The Debug option saves the app automatically if needed, but the Compile option don't save the app: we must save it before if needed (and wanted). This can also cause that you experiment something like you describe.

Trying here with a simple CSS file, and, made changes to it (who changes the file size), everything works as expected, that is, AB detect the differences between the file sizes and therefore proceed to copy the new file in the appropriate place.


DecSoft (In thread: Made apps portables to another computers)

Hello Harald,

AB projects intended to be completely portable. And it is. What you must to do is to place the app's files aside the app's project file. For example, supose your app's project file is "MyApp.ab". Aside that file you can place a directory named "images". Then use the File manager to add the images from that folder: then AB uses relative paths to your app's project file and therefore you can share the project in other computers without problems.

The above is valid for all the available kind of files and folders. Of course, if you choose an absolute path that cannot be relative to the, for example, if you choose an image file from another unit, then, if that unit do not exists in another computer... the image load fail. But, if you save your app's project file in a directory, and, inside this directory you place your app's files (even inside other subfolders), then the app is completely portable to other file system and computers without problem.

The background idea for this: If I have network paths stored here, then I have to edit them again if I want to use the project locally e.g. on a notebook.

I am not quite sure about network paths... probably we can't deal it in a relative to the project file, so, my recomendation is what I say above: store your files in a folder aside your app's project file. Probably we can't use network paths, but, in the same way that we can't use absolute paths not relative to our app's project file... better said... we can use it... but probably the app cannot be compile in other system, except if the files exists in the specified URLs / paths.

The below try to be a sample of directories three:

The point is to pick files from the "Audios", "Styles", "Scripts"... directories, so App Builder automatically save their paths relative to our app's project file. Then we can move the "MyCuteApp" directory (the root one) to another computer and continue working in the project without problem.


DecSoft (In thread: Made apps portables to another computers)

Hello Harald,

Yes; it's now the expected behaviour. The styles and scripts can be edited because can contain optional "queries" to be included in their URLs.


DecSoft (In thread: Usage of the Cordova AdMob plugin in our apps)

Thanks for your kindly words, Amin! :-)


DecSoft (In thread: Usage of the Cordova AdMob plugin in our apps)

Hello Amin,

Yes; we can attach "general" events anywhere, maybe with a few cautions: attach it in a place that made it available for our purposes (if we attach events in a Button Click, they are not available until the button is clicked...), don't attach the same events twice (if this is possible), so, we must control it, or, attach the events in a place that is only executed one time in the app life, for example, the app Ready event.


DecSoft (In thread: Container name changes on Copy/Paste)

Hello Asley,

Please, upgrade your AB copy: the problem is fixed now. Thanks for your report!


DecSoft (In thread: New App Builder release 2019.25 (03/27/2019))

Hello to all,

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

Read the entire product's history


DecSoft (In thread: Usage of the Cordova AdMob plugin in our apps)

Hello Amin,

The plugin documentation is our friend. :-) The Ready event note is valid for all the Cordova plugins, and, for Cordova itself: before the Ready event the Cordova's stuff and plugins are not available to use, so we must use it inside or after the Ready event. About the the plugin's installation flag, the AdMob sample don't use it... and works... but maybe it's becuause it's just a test... or maybe because I have the right Google Play services here in the Android SDK.

The plugin works very well, and, certainly their API is quite simple. However, my intention is to enhance the AdMob Javascript plugin of App Builder, in order to have available methods like to prepare the interstitials, but also to prepare and show videos, etc. But I need some time in order to work on it! So in the meanwhile, and, like always, we can directly use the Cordova's plugin Javascript API.


DecSoft (In thread: Usage of the Cordova AdMob plugin in our apps)

Hello Amin,

Just to note... remember that, as any other Cordova plugin, their API must be used inside or after the app Ready event.


DecSoft (In thread: Usage of the Cordova AdMob plugin in our apps)

Hello Amin,

In principle, use the Cordova Custom plugins option like below must be enough:

So you must use the plugin's ID: cordova-plugin-admob

Additionally, the above can be also a valid way to do it if we need:


DecSoft (In thread: About a possible Datepicker sample app)

Hello Peter,

Trying something like the below:

Works more or less as expected (Firefox and Chrome place the input's template, Internet Explorer 11 leave the input empty)... so I am sorry, but maybe can't understand exactly your problem, Peter. For sure that I am missing something... :-(

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