Posts by DecSoft

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

DecSoft (In thread: Ejecución Sincrono con AB)

Hola Jordi,

No es posible "pausar" Javascript... lo que puedes hacer, por ejemplo, es usar una acción como "BlockApp", esto es, mostrar al usuario un mensaje e impedir que "toque" la interfaz de la app. Cuando termine la función que dices... puedes usar la acción "UnblockApp".


DecSoft (In thread: ProgressBar con opción de 2 datos)

¡De nada Jordi! :-)


DecSoft (In thread: Camera 3 sample)

Hello to all,

Thanks for sharing that stuff here, Tin. Here is a PHP function that can be used for uploaded images. Unfortunatelly I can't credit the author of the code. I did not remember where I get... or where I get the idea, at least... I remember I modify it a bit... :-(


DecSoft (In thread: ProgressBar con opción de 2 datos)

Hola Jordi,

Echa un vistazo al siguiente ejemplo:

El código Javascript "principal" del ejemplo (lo encontrarás en el evento "Show" de la vista) es el siguiente:


DecSoft (In thread: Camera 3 sample)

Hello Tin,

Certainly, sometimes the taken picture must be "fixed" in the server side, for example: I remember that we use some PHP code in order to do it, if anyone is interested, may I can copy it here. The Input file have the advantage of the multiplatform. If we "only" target platforms like Android and iOS, then certainly we can choose whatever we wanted: the Camera plugin or the Input file. Not to mention that we can may use both approaches, determining the platform in which our app is running.


DecSoft (In thread: Camera 3 sample)

May finally I can say something... but just for your information. Certainly the Camera plugin of Cordova works like a charm, but, if we can use an Input File... maybe it's enough... and doing this, our app can work (at least in this aspect) in all the platforms and browsers. But it's completely up to you and your needs, Peter.


DecSoft (In thread: Camera 3 sample)

Well... let us time to try to say something! But glad to know that you got it, Peter. :-)


DecSoft (In thread: Navigation bar color in Android 8+)

Hello to all,

This post is just to inform that I recently start to use the cordova-plugin-navigationbar in certain app and works like a charm. :-) I recently need to get a new Android phone (my old one was... very old...) and the navigation bar are something completely new to me. With this plugin, just by refering to it and a bit of XML in our app's Cordova's configuration, we can set the color for the navigation bar, not to mention other possible abilities like to show and/hide the navigation bar (I did not test this yet). I hope this information can be good!

Here is an app sample, just copy the below XML into a file and save it as "MyApp.ab". Open it with AB and then compile the app with Apache Cordova for Android:


DecSoft (In thread: ProgressBar con opción de 2 datos)

Hola Jordi,

Echa un vistazo al siguiente ejemplo:

El color de las barras de progreso se consigue utilizando las clases CSS correspondientes "bg-danger", "bg-success", etc., aunque, tal vez puedas aplicar un color de fondo usando "background-color".


DecSoft (In thread: ProgressBar con opción de 2 datos)

Hola Jordi,

Creo que la mejor opción sería utilizar Bootstrap CSS, pero, tendrás que hacerlo tú mismo, en un control HTML. Por ejemplo, echa un vistazo a la siguiente app: copia el XML y guárdalo en un archivo "MyApp.ab", por ejemplo, para después abrirlo y probarlo en AB:


DecSoft (In thread: Numero de coincidencias en un Report)

Hola Jordi,

No sé si entiendo muy bien la cuestión. Es decir, cuando hablamos de "buscar en un Report", estamos hablando de buscar en su contenido, y, concretamente, en su variable "Data". Esta variable es un Array, luego, sería posible recorrer este Array, tal como hacemos con cualquier variable de este tipo. Recorriendo el Array, pues, en efecto, podríamos ir objeto por objeto en la variable "Data", buscando por cierta palabra en algún campo en concreto o por todos ellos.

Lo dicho es posible, o sea, no veo que puede surgir ningún problema a bote pronto: lo único es que estaremos haciendo eso en el cliente, y, si estamos usando un servidor... tal vez sea mejor hacerlo en el servidor, por rapidez y por sencillez. El servidor podría "contar" lo que quisiese en la variable Data que va a servir a la app, e, incluso, podría enviar junto a la variable Data el número de coincidencias o algo así.

Dicho esto, por favor, comenta por aquí la duda que tengas o si es que no estoy entiendiendo bien la cuestión.


DecSoft (In thread: Change the language direction of the app)

As a mental note for me... I want to look if the default theme can be a good candidate to be another "app's configuration" variable, so we can set the default theme before the app start if needed, in the same way that we can set the default app's view. I want to look into this when possible!


DecSoft (In thread: Change the language direction of the app)

Hello Amin,

It's very good that you got it. One thing to do by myself is try to search for a possible "stable project" for Bootstrap RTL, search a bit around this topic, so, we can use the right CSS, maybe the one that you already use, and then include this theme in the App Builder's installation, so put it available to be used "out of the box".


DecSoft (In thread: Change the language direction of the app)

Hello Amin,

I am sorry for too many problems. Certainly change a theme at runtime is possible, but, we are talking here about an special theme... the RTL one... that, in fact, I don't know if it's updated or what... maybe we must see in this direction: trying to locate some Bootstrap RTL... that uses the latest version of Boostrap...

Thinking about... what if you identify that the user needs the RTL theme and then start the app from the scratch? We are here in the same problem than the "default view" that we have in the past? Maybe another configuration variable for the default theme can help?


DecSoft (In thread: Change the language direction of the app)

Hello Amin,

Yes; of course. We can use the SetAppTheme action. You can change the [App.TextDirection] global variable and the app's theme according to the language. Remember that we can include in the app as many themes as we wanted, in addition to set the default one to be used. Then, in runtime, we can set one of the includes themes when needed.

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