Posts by DecSoft

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

DecSoft (In thread: Dynamically creating user objects on the screen)

Hello John,

For sure is not a normal or common task. But, of course is possible, using pure Javascript. And, exactly in the same way that you must to do in an other HTML app. So, if you want to try it and need any particular help, just tell me know.

P.S. Upgrade your AB copy and take a look at the new Dynamic Controls app sample.


DecSoft (In thread: Using XML Files in App Builder)

Hello John,

Here are a couple of links:

https://api.jquery.com/jQuery.parseXML/

https://stackoverflow.com/a/7228211/7588436


DecSoft (In thread: Downloading additional content from my app from a web based server)

Hello John,

You can search for "Files" in the samples dialog. You can see the "FileDownload" and the "Files" samples he first in the results.


DecSoft (In thread: Downloading Binary Material from a server to the device)

Hello John,

I think that this other reply can be useful for you for this thread too.


DecSoft (In thread: Downloading additional content from my app from a web based server)

Hello John,

Various things to consider here. The concept of "Download" is not something affordable for HTML apps. HTML apps can't download nor deal with the user's file system, which is reasonable, because, in other way, supose that an webpage can access to your file system... not very good, don't you?

If we have some JSON file in a server... we can just read it using an HttpClient control. If we want to save something in the client side, we can use cookies or the app's local storage, and we have actions to do this already included in App Builder like "SetOption" and "GetOption".

So we can't download files? If our app are compiled with Apache Cordova, yes, we can download files. We have actions like "FileWrite" and an specific action "FileDownload", that we can use. This actions relies in the File and File Transfer Apache Cordova plugins.

There are samples for all of these actions, so you can take a look at it, but, remember that these actions requires that our app must be compiled with Apache Cordova in order to properly work: in other words, that actions can't work in a browser without Apache Cordova.

DecSoft (In thread: Using XML Files in App Builder)

Hello John,

Parsing XML is possible, but there is not something out of the box to do it, except the included jQuery library (from a few releases ago included by default), which can parse XML, but using pure Javascript. If you can provide JSON files instead, can be better, since we can deal with JSON files in the same way than with Arrays and Objects variables, something possible and easy than using XML, IMHO.


DecSoft (In thread: Creating a Header and Footer Navigational Bar)

Hello to all,

Hi David, Thanks for that. It is exactly what I was looking for. Best Wishes John
Good. However, remember that we are not limited to a kind of header. We can always use buttons or other controls to prepare it, for example. So the Navbar controls is just another possible way to get our desired results.

DecSoft (In thread: Creating Custom Components for App Builder)

Hello John,

Sorry for the delay: I just miss this thread... You can take a look at the program options dialog and the Plugins tab. You can see there the Template plugin, and, an Explore button which allow you to open the plugin's directory. You can also pick it from the "AppBuilder" folder inside your User documents folder, which contains the program's Javascript plugins, config files, etc.


DecSoft (In thread: API Youtube en AB)

Hola Jordi,

Lo siento, pero, sería precisa más información. "AB no lo reconoce" no explica nada en absoluto. Y, por otro lado, algo que funciona en HTML... ¿por qué no iba a funcionar en AB, si se trata también de HTML?

Luego debes obtener algún mensaje de error o algo: prueba a ejecutar la app en Firefox y usa la consola de desarrollador (si la consola de AB no te indica nada). De lo contrario es imposible saber qué puede estar pasando.

También dices del código que "si lo meto en AB no funciona"... pero, habría que ver cómo lo estás "metiendo"... si es como lo tienes que hacer, etc. De momento, como he dicho, es menester partir al menos de un mensaje de error.

DecSoft (In thread: API Youtube en AB)

Hola Jordi,

No conozco el API que enlazas, pero, supongo que tendrás que estudiarla. Seguramente, lo que necesitas es acceder al elemento que añades en el control HTMl, es decir, usando el identificador que des al Iframe. Esto puedes hacerlo de varias formas, por ejemplo, usando Javascript:

Lo que tengas que hacer con "elementoVideo" dependerá ya del API en cuestión, que, como digo, tendrás que estudiar.


DecSoft (In thread: Creating a Header and Footer Navigational Bar)

Hello John,

The new Navbar control of App Builder may can be of your interest.

Upgrade your AB copy now and take a look at the new Navbar and Navbar2 samples.


DecSoft (In thread: Push Notifications Android & IOS)

Hello Romeo,

I use the Apache Cordova push plugin in certain app and they works as expected. May I can take a look at the specific sample when have some time. Can you please be a little more specific about the errors that you found? Are that errors related with App Builder or with Apache Cordova and the Push plugin or maybe other Apache Cordova plugins?

Please, note that I remove the link that you place in the above entry. That link is certainly more or less public, but, I think may are not good for the forum.


DecSoft (In thread: Creating a Header and Footer Navigational Bar)

Hello John,

There are some samples like the "HeaderMenu" and the "Footer" ones that may you want to take a look. Anyway, there are just that: samples. In general, anything we put in the footer or in the header (for example, some buttons or a Container with some buttons) are placed in the footer or the header.

One important thing in AB when we develop for small screens (mobiles for example) is the size in which develop the app. By default, AB create new apps with an 320x480 size. This size is probably the best to "start". Then, we can set the app's Scale option to "True", and our app can look well in smaller screens (320x480) and also in more larger screens.

In other words, is not a good idea to start to develop an app with a size of 800x600, for example. Depend on our app, but, the point is that we can scale from 320x480 to 800x600, but, not viceversa.

About the nav bar of this website, certainly, since AB uses right now Bootstrap CSS 4 (the same used in this website right now), we can use an HTML control to place the code of an navbar, and place the HTML control in the app's views header:

https://getbootstrap.com/docs/4.0/components/navbar/

However, this requires more or less knowledge of the used HTML and probably is not something easy to do right now. Additionally, AB did not include by default the Bootstrap 4 Javascript nor jQuery, which is required in order to deal with that kind of navigation bar.

In fact there is an "Navbar" sample which already implement the above stuff, however, I want to take a look (when possible!) to a possible easy integration of the Boostrap CSS 4 navbar into our apps.


DecSoft (In thread: Possible issue with Label's controls display)

Hello John,

After take a look at the publication sample that you send to me, I can see that you set the "body" CSS of the app to the color "#ffffff" (white). Note that the "body" background is also white. Since CSS works in a cascade style, the Label control inherits the "white" color for their text... and that's the reason for what you can't see the Label text: both text and background have the same color: white.


DecSoft (In thread: Possible issue with Label's controls display)

Hello John,

Maybe something related with the app's dimensions... but without a bit more of information is difficult to figure can happen, John. Can you please send to me an E-Mail with an sample app in which I can see the problem?

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