Posts by DecSoft

Show threads by DecSoft
3346 posts found, page 213 of 224

DecSoft (In thread: Where to load app Icon image)

Hello Donald,

We can specify the app's icon from the Interface tab of the app's option dialog: Menu -> Edit -> App options.


DecSoft (In thread: recurrent control objects on all views of app)

Hello again,

I forget to comment one more thing. Certainly we don't have a "shared" or "master" view at this time, however, non visual controls are in fact shared across the application's views. Then we can have a Timer control in the Home view and start/stop it from an About view, for example. So controls who does not requires any HTML code (which are placed in the control's view) can be used across the application's views.


DecSoft (In thread: recurrent control objects on all views of app)

Hello Walter,

Maybe is a good idea (I am not completely sure) and I will look on this more deeply, that is, something like a "shared view" or something like that. However, right now we can only do one thing: copy the controls we need into other view (remember to rename, because controls with the same name in different views can cause certain problems) and, now yes, reuse the controls' related code using app functions, for example.

So we must need to copy two similar buttons in various views, but, their Click event, for example, can just call to certain application function in order to do whatever we need. Then the controls' can't be reused at this time, but at least we can reuse their related code. Anway maybe in the near future we can have something like a "shared view" or "master view".

Sorry if I can't provide you other answer right now Walter.


DecSoft (In thread: {REQ} HTML5 SIP client Component)

Hello edunt,

I remember to read the technology is only for Chrome (at this time), but, probably I am wrong. Anyway right now I maintain my position in both aspects, edunt, not to include the stuff right now, but help you as best as possible if you go ahead. Who knows... maybe if the implementation is atractive, there is a point to add it into the program.


DecSoft (In thread: Injector module error in samples)

Glad to know Walter!


DecSoft (In thread: Injector module error in samples)

Hello Walter,

I think the problem is related with an old release. What you can do is to delete the sample compilation directory by yourself and then try by compiling/running again the application.

Please, tell me if that solve the issue.


DecSoft (In thread: {REQ} HTML5 SIP client Component)

Hello edunt,

May you wanted an answer about this. Taking a look at the project they appear very interesting and probably we can use it from App Builder just by adding the required Javascript file and by use the specified Javascript API. However, the technology works only in just a few browsers (may only Chrome?) and probably there is not easy to deploy in the server side, so maybe is not the time to implement right now (out of the box) in App Builder.

If you need help in order to use the required Javascript on App Builder don't hesitate to post here to try to help you.


DecSoft (In thread: Mediaplayer control in Chrome & Firefox)

Hello Walter,

Please, update your App Builder copy. I fix a bug in the MediaPlayer control and the MediaSetSource action which cause we can't play only with MP4 files even in browsers which support that. Now we can play only with MP4 files at least in Microsoft Edge, Internet Explorer, Firefox and Google Chrome, and probably more browsers which support MP4 files.

We can play only with other possible formats and of course continue adding various source files to the MediaPlayer.


DecSoft (In thread: Mediaplayer control in Chrome & Firefox)

Hello,

Me again... Finally I found certain bug in the MediaPlayer player Javascript code which causes the problem Walter! Even when we do not set other sources than MP4, App Builder add "empty" sources to the player, then the MP4 source is not taken by Firefox, for example. I am working in a solution and inform you when they are ready.

And sorry for the inconveniences Walter...


DecSoft (In thread: Mediaplayer control in Chrome & Firefox)

Hello again,

Following this page, MP4 are supported by Firefox, but, "MP4" means "MPEG 4 files with H264 video codec and AAC audio codec". So maybe you can assert the MP4 files uses such codecs, Walter. Maybe that's the "problem".


DecSoft (In thread: Configuracion para utilización de perifericos: bluetooth)

Hola pesadillo,

Ciertamente, echando un vistazo a alguno de los plugins enlazados arriba, se ven, si no complicados, sí extensos y complejos, por ejemplo, uno que me gustó que parece poder comunicarse con cualquier dispositivo cuenta con decenas de funciones Javascript que podemos usar. Creo que se trata de un componente más o menos especializado como para incluirlo en App Builder "out of the box".

Actualmente no hay una forma de crear plugins para App Builder, tal vez en el futuro. Pero, lo que sí es posible es extender el programa, es decir, nuestras aplicaciones, usando Javascript "puro", además del lenguaje de script de App Builder. En este punto conviene mencionar que los plugins de Apache Cordova ofrecen su API, precisamente, en Javascript.

De este modo, en efecto, es posible trabajar con plugins de Apache Cordova que no están "de serie" integrados en App Builder, así como otras posibles bibliotecas Javascript de posible interés. Hay varios ejemplos entre los incluidos con el programa: revisa los ejemplos Plugins, Magneto y QrCode, aunque creo recordar que hay alguno más.

Lo que debemos hacer para integrar un plugin para Cordova que no esté ya integrado en App Builder es indicar la ID del plugin en la casilla "Custom plugins" del diálogo de opciones de la aplicación, dentro de la pestaña "Cordova". Hecho esto, App Builder incluirá una referencia al plugin en el archivo "config.xml" para Apache Cordova, así como la llamada oportuna en los archivo "BAT" que se creen.

Después, tendremos que seguir el API del plugin en cuestión y averiguar cómo debemos usarla. En todo caso tendremos que hacerlo usando Javascript, cosa que podemos hacer en cualquier parte de nuestra aplicación, situando el código Javascript entre las acciones "StartJS" y "EndJS", por ejemplo, pero, también en forma de funciones de la aplicación, directamente, escritas en Javascript.

Ya sabes que puedes contactar conmigo y/o publicar en este foro si necesitas ayuda.


DecSoft (In thread: HTML Compiler - How to properly use the video and audio tags)

Hello fittachi,

The protocol behind HTML Compiler and that allow us to include files inside the executable that NEVER are extracted to the user PC, unfortunatelly, do not support "local" files for the video nor audio nor flash player components. The way you can shown a video in an HTML Compiler application is to place the video source online, in a remote server, or use some Youtube or other similar video service. We can use audio and video tags without problems if the source is placed remotelly.

On the other hand, we can also use some of the external Javascript functions that HTML Compiler provide to us. We can open an audio or video file, for example, and even open an specific executable (maybe a player) responsible to open the audio or video file we wanted. Take a look at the "LocalVideo" sample which is included with DecSoft's HTML Compiler.

The new generation of DecSoft HTML Compiler supports audio and video HTML tags without problems. You can take a look at the Audio and Video sample apps to see it in action!

DecSoft (In thread: {REQ} HTML5 SIP client Component)

Hello edunt,

Honestly, I don't have experience with HTML5 SIP, but sound interesting. I will take a look, but, remember that, if we can do something with Javascript, then we can integrate it in App Builder, even if they are not integrated by default. We can add Javascript files to our applications and use pure Javascript in any of the application, view and controls events.

Anyway I will take a look edunt.


DecSoft (In thread: Mediaplayer control in Chrome & Firefox)

Hello Walter,

Well. The problem is not, apparently, in the MediaPlayer control. Here in my system Firefox and Chrome can reproduce OGG (.ogv) files. On the other hand, MP4 files are taken from Internet Explorer, but not Firefox nor Chrome. Following the Mozilla documentation MP4 is not always supported and depends in the codecs:


The MP4 container format with the H.264 video codec and the AAC audio codec is natively supported by desktop/mobile Internet Explorer, Safari and Chrome, but Chromium and Opera do not support the format. IE and Chrome also support the MP3 audio codec in the MP4 container, but Safari does not. Firefox/Firefox for Android/Firefox OS supports the format in some cases, but only when a third-party decoder is available, and the device hardware can handle the profile used to encode the MP4.

The MPEG media formats are covered by patents, which are not freely licensed. All the necessary licenses can be bought from MPEG LA. Since H.264 is currently not a royalty free format, it is unfit for the open web platform, according to Mozilla [1, 2], Google [1, 2] and Opera. However, since royalty free formats are not supported by Internet Explorer and Safari, Mozilla has decided to support the format anyway, and Google never fulfilled their promise to remove support for it in Chrome.

Maybe is a pain, Walter, but probably we need to provide at least two different formats: OGG and MP4. Out there is a war about the format and we cannot rely just in one format, MP4 or other.


DecSoft (In thread: Embeded Audio File)

Hello edunt,

I think you no need to worry at all. Apache Cordova is an open source project used by lot of people and companies around the world: Adobe Phonegap, for example, is based in Apache Cordova. Not only this, but, App Builder is integrated with Apache Cordova in certain ways. For example, App Builder integrates various Apache Cordova plugins like Device, Camera, Barcode, etc., which allow us to play with the device's capabilities from our applications.

In other words, even when you try to use another similar environment, probably such environment uses Apache Cordova behind... and finally they are needed, because in other case the App Builder features which relies on Apache Cordova never can work. So please read the Apache Cordova CLI documentation and also how to setup the Android SDK: basically we need to play with the Android API level 22. Maybe other tools can be required, depending if some Apache Cordova plugin requires it, for example. In this case the plugin's documentation tell us what we need.

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