Hello Donald,
Sorry the delay, I expend the day in the hospital with my mom. Certainly there is no option currently to made an image "fixed", that is, if you choose the "scaled" app's option, then all the control try to scale, also the Image controls. Currently the only way to maintain the image in a fixed size is to avoid the "scaled" app's option, or, may we can use it, and then, un runtime, use certain CSS classes or actions like "SetStyle" in order to maintain the size of our Image controls or may provide it with a more appropiate images for larger screens, for example. About the zoom feature, yes, it's the application who have an option like that, not the current Image controls.
Hola pesadillo,
No estoy muy seguro de hasta qué punto es el cliente el responsable del comportamiento que describe, puesto que también el servidor tiene algo que decir ahí, por no hablar ya del propio sistema operativo del teléfono en cuestión.
Si le he entendido bien, lo que quiere es, precisamente, que siempre se muestre "actualizado" (hasta donde el servidor entienda) el contenido de los "Iframes". Si esto es así, tal vez pueda usar un sencillo truco.
Se trata de asignar al "Iframe" una URL que ha de ser única, de modo que el servidor, así como el sistema operativo (si este tiene algo que ver) no la guarden los datos en caché alguno. Dicho truco puede resumirse así:
Como ve, primero obtenemos un núero del 100 al 9999 (podría variar, podríamos poner otros datos...) y después preparamos dicho número para ser añadido en una URL. A continuación asignamos la URL del "Iframe1", añadiendo el argumento "r" cuyo valor es el número aleatorio anterior.
Ojalá esta información pueda serle de ayuda.
Hello,
In my opinion the point is that build an application two times is more expensive than build the application one time. Not too much words to said, except that, since we need the release build ONLY when we are ready to upload the application into the Google Play Store, I think build an application's release everytime is a waste of time and resources.
Do you really thing we need both debug and release APKs during the application's development?
Hello,
Why build a debug and a release versions if we only need one of them? For that reason I separate the build in two files, one for debug, one for release. Maybe another approach can be taken, but build the application twice can be a waste of time, specially the first time we build an application.
Hola,
Me alegro de que al final diese con ello. Gracias por indicar la solución para su servidor.
Hola PoKeRGT,
Es raro que no pueda configurar los permisos CORS de alguna forma: al fin y al cabo se trata de un estándar que debería estar soportado por todos los servidores, so pena de dejar de dar servicio cuando se requiera. En los ejemplos de App Builder se habilita CORS usando PHP, pero, me consta que podría hacerse usando archivos ".htaccess" de Apache, por ejemplo.
En todo caso, le recuerdo que, para mostrar imágenes, no necesita usar un control "HttpClient", sino que basta con usar el control "Image", por ejemplo. De nuevo le remito a los ejemplos del programa, puesto que en muchos de ellos se hace uso del control "Image". En todo caso gracias por su interés en App Builder.
Hello,
Ok. I updated App Builder and now, when we choose the option to create Apache Cordova Batch files, the program creates two BAT files, one for debug purposes and one other ready for release. Probably you have reason and we can't use a debug APK, or, at least, we must use a release APK instead. This is what we get now:
Update your App Builder copy edunt.
Hello,
You have reason edunt, there are two APK files. I am confused due to the other TXT file. On the other hand, I think you can sign debug APK, but, if you want a release, then open the BAT generated file and replace this line:
... by this other:
I am working in a solution in order to prepare also the release APK files in addition to the debug ones.
Hello,
I am also 99.9% sure I got three files edunt... please, let me to be in my PC and I will take a look.
Hello,
I am not in my PC right now, but, if I am not wrong, we get three files instead two. Are you sure you get two APK files instead three?
Hola PoKeRGT,
Gracias por su interés. De veras que intento por todos mis medios que App Builder vaya más allá de crear prototipos. De hecho ya hay algunas aplicaciones bastante interesantes circulando por ahí. Respecto de su pregunta, me temo que su problema no es específico de App Builder, sino de cualquier aplicación Web.
El problema que está encontrando tiene que ver con los permisos CORS que el servidor de la aplicación ha de habilitar, precisamente, respondiendo a la petición "OPTIONS" correctamente. Podrá ver ejemplos de cómo habilitar CORS en PHP en varios de los ejemplos incluidos en App Builder. También podrá buscar más ejemplos por internet.
En todo caso, para mostrar una imagen en su aplicación no necesita descargarla, o, por mejor decir, bastará conque indique la URL de dicha imagen en la propiedad "Image" del control "Image". Dicha URL podrá enlazar a un archivo de imagen incluido en la aplicación o bien a una imagen de su servidor. En este caso el CORS no será problema.
Espero que esta información le resulte de ayuda.
Si tiene cualquier otra duda no deje de indicarlo.
Gracias de nuevo por su interés en mi trabajo PoKeRGT.
Hello,
Look for some tutorial around the web edunt! At least one of my customers signing their APKs, since they published such applications into the Google Play Store. So for sure we can sign APK files, but we need to search around how to do it, possible problems while triying, etc. Unfortunatelly I can't help because I not need to sign any APK before.
Hello edunt,
Sincerely I can't help you at this time. I can only refer you to the Google Play Store instructions for signed APK files.
Hello,
I can't understand... you are saying the post you publish do not work?
Hello Donald,
Is there a way to just download updated sample files without installing the AppBuilder?
I know sometimes there are new controls etc that need to be updated but if we are using already installed ones, and you make some changes is there a way to do it?
I think it would be useful as time changes things and samples get modified.......as you know.
No. At this time we can only update the whole installation, which include the apps samples. My recommendation to you is to maintain a copy of the applications by yourself. That is, supose you want to work in certain app sample. Ok. Copy that sample directory to another and work over that files instead the original ones. So that files never be touched by App Builder installations.
And one more thing while I am thinking about it. The .ab file is a text file and I was wondering if there is someway to view it as text and search it. I know I can do it as an extrernal editor but might be a nice feature for the app.
My thinking on this is that sometimes I need to find where something is like objects or variables and this helps me to locate them,
Any other ideas or ways to do this?
Thanks
Yes; certainly the ".ab" files (App Builder's project or app files) is an XML file, so we can open it with our desired editor and may search and replace something, for example. However, a search engine (including the replace or refactoring feature) must be included in the future to App Builder, just like other things I need to study it and then try to implementing.
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.