Hello Michael,
About the issue with the Sidebar, I am not quite sure that can reproduce the problem. I use the Swipe events of both the app and the view, and, apparently it's working as expected to show / hide the Sidebar. What I can note is that if we swipe to the left from the "grayed" part and "cross" the Sidebar, to say like that, then yes, the Swipe event appear to be not fired. However, this is apparently a default behaviour that we can't probably handle in other way. I think there is not too much trouble from the user point of view, since, for example, just by clicking the "grayed" part the Sidebar is hide... Anyway, if you wanted, please, send me a sample app via EMail and I will try to take a look.
About the adaptative icons, I am not sure if can understand the possible issue, since we are **only** following the Apache Cordova documentation for Android adaptative icons with images. Or I am wrong, or the "108dp" icons that you mention are not supported or at least not referred in the Apache Cordova documentation. So again, Michael, if possible, send to me a sample app (with the images that you are trying to use) and I will try to take a look here.
Hello Kim,
Maybe it's related with the Cordova version? Trying here with cordova-android@^8.0.0, I can't reproduce the problem, that is, I use a splash screen from an existing project in a new AB2 app, then prepare a release and everything works as expected. Maybe an update of Gradle can help here too.
Another point can be to take a look at the AB2 Program -> Options -> Behaviour -> Splash... trying to compress a bit more the used splash screen. Try to provide a more or less customized PNG splash screen too, for example, I use here 1024x1024 image of 442 Kb.
The Splash screen plugin used is the official one, and, it's included by default when a splash screen is provided.
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:
Read the entire product's history
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:
Read the entire product's history
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Read the entire product's history
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:
Read the entire product's history
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.
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.