Posts by DecSoft

Show threads by DecSoft
3341 posts found, page 43 of 223

DecSoft (In thread: Share directamente en javascript)

Hola Juan,

En principio, el código anterior funciona "tal cual", es decir, sin necesidad de control "Share" en la vista.


DecSoft (In thread: Abrir aplicacion en ELECTRON en un tamaño)

Hola Jordi,

Sí; echa un vistazo a las opciones de la app -> Cordova -> Electron -> Settings. Verás un par de enlaces / botones a izquierda y derecha: si pulsas el primero, obtendrás un ejemplo de configuración tal como el que ves abajo:

Si pulsas sobre el otro enlace / botón, verás documentación sobre las opciones de configuración.


DecSoft (In thread: Share directamente en javascript)

Hola Juan,

Si no me equivoco, lo siguiente podriá servirle:


DecSoft (In thread: Como recorrer los datos de un Report)

Hola Jordi,

No sé si lo entiendo bien, pero, para recorrer una variable "Report.Data" en AB1 podrías usar algo como lo siguiente:


DecSoft (In thread: App Builder 2020 for new project)

Hello Ryan,

Since what DecSoft App Builder produce is an HTML + CSS + JavaScript app, the answer is yes, you can edit and continue working "as is" with the produced app (files) without using the IDE, even when this, of course, is not the recommended way... if you use the IDE to create that app: but it's possible, if necessary.

P.S. I know you have licenses for both the previous generation and the new generation of DecSoft App Builder. Of course, the new generation is recomended for new proyects, Ryan.


DecSoft (In thread: Android : capture audio)

Hello Samuel,

Your welcome! You know the Apache Cordova Media plugin allows to record audio files and to reproduce audio files. However, the integration that I made refers only to the record audio files, because, in fact, we can already reproduce audio files using Audio JavaScript objects or the AudioPlayer control.

In the case of the "CordovaMedia" sample app I use an AudioPlayer control in order to reproduce the recorded audio file. Note, however, that the "app.cordova.media.startRecord()" method, returns a "media object instance", that we must use later with the "app.cordova.media.stopRecord()".

But the referred "media object instance" is an instance of the provided plugin's object from Apache Cordova, and, this means in act that we can use this instance variable to call all the available plugin's methods described in the plugin's documentation.

Why I did not include that methods in the plugin's integration? To maintain the plugin as easy as possible, and, because, in other hand, the audio reproduction related methods did not appear interesting (since we can reproduce the audio in other ways), and because other methods are platform specific.

Maybe you enter in troubles due to the requirement of the plugin to provide a file path, in which the recorded audio must be saved. The solution is the also integrated Apache Cordova File plugin, as you can see in the "CordovaMedia" sample app. In fac the integration of the Apache Cordova file has been rewritten from the scratch in the new AB release, as you can see in the help and also in the "CordovaFile" sample app.

I recommend you to take a look at the referred "CordovaMedia" and "CordovaFile" samples, and, just post here if you have any further question about!


DecSoft (In thread: Android : capture audio)

Hello Samuel,

Maybe this new AB release can be useful to you. Take a look!


DecSoft (In thread: New App Builder 2020.87)

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: Android : capture audio)

Hello Samuel,

Thanks a lot David. I thought it was the one embedded with App Builder. I give it a try.

In fact I don't know about this plugin until yesterday... and it's a suprise to me, because it's an Apache Cordova official plugin. You can try to use it (it's more or less easy, I already try it), but I am working into this plugin integration (at least the audio recording) in DecSoft App Builder, among the rewriting of the Cordova File plugin (which must be used to record an audio file, to create the file), among other changes.


DecSoft (In thread: Android : capture audio)

Hello Samuel,

I think the cordova-plugin-media can be a good candidate to be used. Apparently it's an official plugin of Apache Cordova. Note, however, that the file format need some attention, for example, in the Android platform.


DecSoft (In thread: AB2 actions as in AB1)

Hello to all,

Since we are talking about a thirdparty tool, I have no problem at all: anybody can use it if wanted. But I must defend the new generation of DecSoft App Builder, of course. You know that AB apps are based in HTML, CSS and JavaScript. JavaScript is the programming language, and, in fact, the visual actions that the previous generation of AB offers, must be translated at the end to JavaScript.

The actions are limited, but JavaScript is not limited at all. If we learn actions, we are not really learning about JavaScript, so, we never can get the benefits of the JavaScript usage. In the new generation of AB everything is JavaScript, and I think this provide too many advantages, the already referred, but, also the infinite sources of knowledge, lot of code pieces that we can use "as is", and many more.

The previous generation of AB and the current one just have different point of views: the first one is intended to beginner users, but the current generation of the product want to offer also a power tool for people who already know the JavaScript language. And my intention is to kick up the beginner users to the JavaScript language: finally if you learn JavaScript, you can use it in many projects, not only AB apps.

So if I can help in something with this tools, count with me, but, I bet for the new generation of AB. Someone can think that the new AB remove the visual actions support, but, other point of view can be that the new AB is faster, more user friendly, and incorporate lot of things missed in the previous generation of AB, like the app's resources, the ability to translate the app directly from the IDE and many more features.


DecSoft (In thread: New App Builder 2020.86)

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: New App Builder 2020.85)

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: Borrar elementos de MultiSelect)

Hola Jordi,

Pensando en cómo hacerlo en el nuevo AB, podría también usarse el método "filter" de los Arrays, de tal modo que quedaría tal que así:

Si te fijas, inicializamos el Array con los elementos seleccionados, y, esto es algo que acaso convendría hacerse también en el anterior código para el anterior AB, quedando entonces del siguiente modo:

Por cierto que, también en el anterior AB, podriámos usar JavaScript y el método "filter" de los Arrays, tal que así:

Como ves, en este último caso no usamos las funciones "flecha" de JavaScript, pues, el navegador / depurador del anterior AB se basa en Internet Explorer 11, y, este no soporta este tipo de funciones de JavaScript.

El el navegador / depurador del nuevo AB se basa en Google Chromium, y, este ya soporta las funciones "flecha" de JavaScript, de manera que es posible correr la app en dicho navegador / depurador, así como en el resto de navegadores.


DecSoft (In thread: Borrar elementos de MultiSelect)

Hola Jordi,

En efecto, el control MultiSelect no tiene propiedad "ItemIndex", sino que podemos usar su propiedad "SelItems", que, guarda los elementos que están seleccionados en forma de Array. De este modo, es posible recorrer dicho Array para ir averiguando el "index" de cada elemento, para borrarlo a continuación:

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.