Hello Asley,
So finally you got it? I did not try the JavaScript library that you refers, but certainly it's one of the first results searching in Google here too. :-)
Hello Asley,
So finally you got it? I did not try the JavaScript library that you refers, but certainly it's one of the first results searching in Google here too. :-)
Hello Asley,
The problem if you did not provide any information, is not only that you force me to start to deal with the plugin from the scratch, but, also, that I don't know the possible context, so, maybe my effort is non useful. This is common in support forums, Asley: we must try to provide as much information as possible about the possible error, so other people can try to help us in the best way.
Trying the plugin, I can get it working at the first time, without any remarkable problem. Below you can see a modification of the Camera sample app, which uses the plugin to crop the captured photo / image: copy the below code in a file like "Camera.ab" and then open it with AB1, compile it and finally try it in an Android device:
I hope the above can be useful for you, at least to give you some idea. On the other hand, there are various "crop images" JavaScript libraries that maybe you can consider to use, so you get something working not only in the supported plugin platforms, but in almost all the platforms. Please, post here if you have any further question about this. And don't hesitate to do it, since I will try to help you if possible.
Hello Asley,
I did not try the plugin that you refer, however, what is the problem? What do you try? Do you get any error message? Are you try to follow the plugin's documentation? Are you try with a device connected to the PC, so you may can see some debug information? I will try to help you if you provide a bit more of information!
Hola Jordi,
Pero... en la propiedad "Html" de los controles "Report" tenemos acceso a cada uno de los registros del JSON, pero, uno a uno, por decirlo así: no sería posible acceder a otro registro desde ahí... salvo acaso sabiendo el índice de dicho registro y accediendo mediante la propiedad "Data" del propio "Report"... porque si tú usas "Record"... te estás refiriendo al registro que está "pasando" en ese momento, cada uno de ellos, por separado.
Tal vez deberías darle un par de vueltas a ver... acaso usando imágenes desde otra fuente... desde otra variable... o acaso usando la variable "Data" del report con "índices"... tendrías que darle un par de vueltas, como digo: acaso haya otra forma más sencilla de conseguir lo mismo o algo lo suficientemente similar.
Hola Jordi,
No sé si lo llego a entender del todo, puesto que, en efecto, las imágenes son elementos "en línea" (no "en bloque"), de modo que, si caben, no hay problema en mostrar dos o más imágenes "juntas". Por ejemplo, prueba el siguiente código HTML en la propiedad "Html" del Report que encontrarás en el ejemplo "Report7" que viene con AB:
Como verás, habiendo espacio para las dos imágenes, estas se mostrarán una al lado de la otra (si no hubiese espacio una pasaría a mostrarse debajo de la otra). He pensado que acaso fuese por los porcentajes, pero, el siguiente código también funciona como se espera (pruébalo en el mismo ejemplo "Report7"):
En fin, echa un vistazo y dime qué te parece: acaso no esté pillando el asunto bien: tal vez una captura de pantalla con un dibujo de lo que quieres conseguir ayudaría.
Hello Asley,
Prevent the default behaviour of the back button cannot be more easy, just use the below code in the app's "BackButton" event:
However, maybe you already try something like that and cannot see it working... this is due to a bug in DecSoft App Builder, which is has been fixed right now, so, update your copy and try it, Asley.
P.S. Please, maintain different questions separated in different threads: don't hesitate to open all the threads that you needed! I know you add a second question to this thread because it's the "Email style", just reply with other question... but here in the forum, maintain different threads for different questions is good. :-)
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello Asley,
Maybe you want to investigate a bit more, for example, here in this Electron's issue. The basis can be the below piece of code:
Please, post here if you have any further questions!
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hola Juan,
Lamentablemente, es Facebook quien no soporta sino poder compartir una URL, de modo que en este caso se toma el argumento URL, pero, el texto, simplemente, se ignora, porque, no hay lugar donde situarlo en la URL "https://www.facebook.com/sharer/sharer.php", que, es la utilizada para "compartir en Facebook".
Si la app fuese híbrida (hasta ahora estoy enteniendo que no, que se trata de una app que correrá en un navegador), esto es, si se compilase con Apache Cordova, tal vez podría usarse algún plugin para Apache Cordova que ofreciese más opciones.
Facebook parece proporcionar también otra URL "para compartir" que tampoco admite texto alguno, pero, sí otros argumentos que acaso quisiera utilizar, Juan, eche un vistazo en este sitio web.
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hola Juan,
Creo que podría añadirse, aunque, en efecto, en realidad no haría falta, esto es, añadir el soporte para Whatsapp implica únicamente utilizar esta URL: "https://api.whatsapp.com/send". Al menos acabo de probar que funciona bien en navegadores tanto de escritorio como para móviles. Es decir, se trataría de usar el siguiente código:
Con Telegram debe haber alguna URL similar que pudiera usarse... Por favor, pruébelo y pregunte aquí si tiene alguna duda.
Hola Juan,
En principio, el código anterior funciona "tal cual", es decir, sin necesidad de control "Share" en la vista.
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.
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.