Posts by DecSoft

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

DecSoft (In thread: Headers and Footers for Apps)

Hello again,

Just to say that I add right now to App Builder a new Footer app sample:

This app sample show us how to implement a kind of app footer which include various icons to navigate between the app views. This app sample show us various things like how to use the Inline CSS app option to customize various app controls with different styles. Also we can learn how to use app functions and how to take care about what specific "target id" has been clicked into an HTML control. This app sample show us a possible footer for our apps, but we can create footer using various controls too: Containers, Buttons, Images, HTML, etc.

That sample is available right now: www.getappbuilder.com


DecSoft (In thread: Transitions between pages)

Hello John,

We can use the "Animation" option of the app views. We can specify certain animation effect which are executed when the view is shown. Take a look at the Animation app sample and play with the different app view available animations. One of them are named "slideRight". To view and edit the Animation option, select the app view by click it in the designer and take a look at the Properties (or object inspector) panel.


DecSoft (In thread: Using the Menu Component and other related questions)

Hello John,

What you need is to know how to react for specific item clicked by the user? If so, take a look at the Menu* app samples. The Menu stores their items as an Array, and they offer an "ItemClick" even wich inform us about the item index choosed by the user.


DecSoft (In thread: Headers and Footers for Apps)

Hello Jhon,

There is not an standard way to do that. We can use a Container control and put it into the header or the bottom of app views. Such Container can contain (of course) Push buttons, Images or HTML controls with the appropiate stuff. We can also use a Dropdown button, which incorporate a menu.

In the "Click" event of any of the Push button, Image, HTML or Dropdown items, we can simply use the ShowView, ReplaceView or the ShowDialog actions to show any app view.

Maybe you want to take a look at the DecSoft app sample, which uses a Menu control. Maybe I prepare an specific sample of a possible footer and header in the near future. Other app samples may also give you some ideas about possible menus and how to navigate between the app views.


DecSoft (In thread: Recoger valor JSON desde un petición)

Hola Neftalí,

Revisa los ejemplos JSON y JSON2 que se han añadido, y, si tienes cualquier duda, no dejes de preguntar. :)


DecSoft (In thread: Recoger valor JSON desde un petición)

Hola de nuevo,

Sólo para añadir que App Builder cuenta ahora con dos ejemplos nuevos: JSON y JSON2. El primero muestra cómo acceder a la respuesta JSON de un cliente HTTP tal que cualquier otro objeto. El segundo muestra lo mismo, pero, esta vez la respuesta JSON contiene varios objetos y además cada objeto tiene una propiedad de tipo Array.

Los ejemplos de App Builder se encuentran en el menú Archivo -> Ejemplos


DecSoft (In thread: Recoger valor JSON desde un petición)

Hola Neftalí,

Estupendo. Recuerda que no tendrás que "parsear", en el sentido de que ya tratamos, directamente, con un objeto y sus propiedades. Si tienes cualquier consulta no dejes de decirlo.


DecSoft (In thread: Recoger valor JSON desde un petición)

Hola Neftalí,

Un gusto verte también en este foro. No te preocupes que no estás haciendo nada mal. Se trata de que lo que obtenemos en la variable "[HttpClient1.Response]", en este caso, es el propio objeto JSON retornado por el servidor, y, lo que vemos en el Textarea es el resultado del método "toString()" de dicho objeto.

Podemos acceder, directamente, al propio objeto, es decir, podemos escribir algo como esto en el caso del objeto JSON susomentado:

Para una respuesta del servidor tal que esta:

... la acción AlertBox anterior nos mostraría "accurate". Por otro lado, el JSON que nos ocupa es mas o menos "complejo", esto es, el elemento "list" es un Array de objetos, en este caso de un solo objeto. Podríamos también acceder a las propiedades de los objetos de "list" usando un codigo como este:

La acción "AlertBox" anterior mostrará "Barcelona". Y, no sé si es necesario, pero, en el caso de que "list" pudiese contener mas de un objeto, podemos conocer el número de estos usando la acción ArrayLength de este modo:

Por lo demás, puesto que lo que obtenemos desde el servidor es para nuestra aplicación un objeto JSON, si quisiésemos mostrar en el Textarea el JSON "como una cadena", podemos usar la acción StrSerialize tal que así:

No sé si te he aclarado algo Neftalí.

Muchas gracias por interesarte en App Builder.

Si tienes cualquier otra duda no dejes de decirlo.


DecSoft (In thread: Componente navigation bar)

¡Siempre gracias a usted!


DecSoft (In thread: Componente navigation bar)

Hola Eduardo,

Con App Builder se incluyen varios ejemplos. Puede accederse a ellos desde el menú File > Samples o "Archivo -> Ejemplos". Verá que se muestra un diálogo con los ejemplos y una lista con los mismos. Puede filtrar la lista o simplemente buscar el ejemplo "SwipeMenu" y abrirlo desde ahí.


DecSoft (In thread: Componente navigation bar)

Hola Eduardo,

Gracias por lo enlaces. Eche un vistazo al ejemplo "SwipeMenu". Tal vez puede mejorarse, pero, creo que sigue la misma idea.


DecSoft (In thread: Componente navigation bar)

Hola Eduardo,

Tal vez el tipo de controles que ha mencionado estén disponibles en alguna otra plataforma, por ejemplo, en Android Studio, no obstante, en App Builder preparamos aplicaciones HTML5 y contamos acaso con otro tipo de controles.

Actualmente no hay un control "TabBar", pero, puesto que nuestras aplicaciones cuentan con la potencia de AngularJS y Bootstrap, tal vez podría usarse un control HTML y código de la directiva Tabs de Angular UI.

Sobre posible control "ListView", eche un vistazo a los controles Report y Multiselect en los ejemplos Report* (hay varios) y MultiSelect.

No estoy muy seguro de lo que es un "Menu Drawer", pero, sí que contamos con un control Menu. Eche un vistazo a los ejemplos Menu* (hay varios) y también al ejemplo DecSoft, que también usa dicho control.

¿Hay algún tutorial que explica cómo desarrollar estas características en AppBuilder?

Recuerde que App Builder produce aplicaciones HTML5. Generalmente, cualquier "cosa" para HTML5, Javascript y CSS puede estar disponible en nuestras aplicaciones, bien implementadas por App Builder, bien usando el control HTML y la inclusión de archivos Javascript junto con las acciones StartJS y EndJS.

Es decir, si no contamos con un determinado control o funcionalidad (por el momento), es posible extender App Builder para hacer uso de HTML y Javascript "externo" de una forma relativamente sencilla. Existe un ejemplo de nombre "External" que nos muestra, por ejemplo, cómo podemos acceder a variables y métodos de nuestra aplicación desde Javascript "externo" a ella.


DecSoft (In thread: Enviar un mensaje push por el bluemix)

Hola Eduardo,

No conocía IBM Blumix, pero, echando un vistazo rápido, parece que usan a Google Cloud Messaging (GCM), que, es justamente lo que usa también el ejemplo PushPlugin, al que tal vez quisiera echar un vistazo. Creo que sería muy similar, cuando no lo mismo.

En efecto, el control Pusher trabaja con Pusher.com, pero, esto es posible gracias a su API Javascript. ¿Proporciona IBM Blumix algún API Javascript? Aunque como digo, creo que el ejemplo PushPlugin podría servirle...


DecSoft (In thread: NeoPlugins - Question about npTalk)

Hello erfanwin3,

First of all, sorry for the delay... I really don't know what happend, but I view your post right now... please, sorry.

About your question, you need to purchase a New plugin license if you never purchase the plugin license before.

In other words, purchase an Upgrade license only if you have purchased a previously New license of the plugin.

Tell me if you need further help. And sorry again for the delay to reply you in this thread.


DecSoft (In thread: [SOLVED] How to test the Code Minimizer ?)

Hello Samuel,

Yes; we can expose certain server URLs, but that does not mean the server response are the same for every request. For example, supose we want to get certain user information from a server database. In an HTTP call (using an HTTP client control) we can include certain user name and password, then, the server only give us the user information if the name and password are correct and not in other case.

We expose the URL for our login script in the server, but, never expose the user name and password.

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