Hello Mike,
After take a look at your application I understand what you wanted. Then I prepare a little application who uses an Image control and also an HTML control in order to shown the same image. I try with the HTML control in both ways: without an "A" tag and with an "A" tag for the image. Certainly the things does not happend than you expected, Mike, but, I think it's very reasonable.
We can react to image "clicks" (or "taps") in both cases: the Image control and the HTML control. But we can't expect something like a "share" dialog to appear when we tap along an image or other resources in an application, not only your application, but any application. These applications images cannot be "shared" by default.
About your proposed code and documentation, you can't simply use Java code in App Builder, except if you are capable to create a plugin for Apache Cordova: then you can use the Java code of the plugin from App Builder using the plugin's Javascript API. Certainly this is probably the way for a solution: uses a Cordova plugin.
But I am not sure if a plugin like that is already created, or maybe we can use someone like this or this other.
Hello Mike,
It's very difficult to help without more information. Can you please provide me a little application in which I can take a look?
Hello Mike,
Certainly we have three differents BAT files, here is their purpose:
1º "Debug": Allow us to get an APK file for our application ready to be debugged in a device or emulator.
2º "Run": If we have attached our device to our computer, this BAT launch the application directly in that device.
3º "Release": This BAT creates an aligned APK file of our application ready to be signed and then deployed into the store.
How to sign our APK files to be published in the Google Play Store? Take look at this forum's thread.
Hello,
We can deal with text files if our application is build firstly with Apache Cordova. You can use the StrSerialize action to get an string form an Array or Object variables, then you can save that string into a text file using the Files* related actions of the Files Cordova's plugin, included "out of the box" in App Builder.
Of course you can also read such text file and, with the help of the StrUnserialize action, get back your Array or Object variables.
On the other hand, if you are talking about a web application, not a Cordova builded application, then we can't deal with files, because browser's vendors does not allow us to do that for security reasons. In this last case you need to upload the text (serialized) into your app server, using the HttpClient control, for example.
Hello Stef,
Update your App Builder copy. Now the program uses the app's file name instead of the app's name when prepare the "compile" directory. If you already updated your App Builder today, you may need to download it directly from their website:
https://www.decsoftutils.com/download/appbuilder
Hello Stef,
My first step is to reply, why we need to set a "?" as our app name? But why not? It's a wrong assumption in App Builder to disallow names like "What happend?" or something like that, and I am working right now to fix it Stef.
Hello Stef,
You have reason. In fact, one thing is the app's name, and other thing is the app's project file name. We can set an app's name like "What happend?", and save the app in a file like "MyApp.ab".
However, currently App Builder uses the app's name to conform the "compiled" directory, and this can certainly causes problems with some app's names, like if the names contains something like the "?" char.
The next App Builder release probably conform the "compiled" directory name using the app's file path name, instead the app's name. In this way we shot two birds with one bullet, because Windows does not allow us to save an app's file name which contains non valid characters for file names.
Thanks for the suggestion Stef.
Hello,
Strange, now it seems to work again for some reason...
Thanks David!
Maybe the reason is I work for that! :D
Hello Mike,
If you set the with or height of an Image control (using the "SetStyle" action or certain CSS code) then such Image control does not scale anymore along the application. We can act here in several ways, for example, we can take care about the "Resize" app's event. Or may just use certain CSS to deal with the image. For example, in this forum's thread we can view a bit of CSS code to maintain certain Image control centered and aligned in the screen.
About "breakpoints", I am not sure what you means, since we are not talking about debugging here. But maybe you are talking about something like the CSS Media Queries? Certainly there is another possible way to control our application for various screen sizes. CSS Media Queries are powerful and offer lot of posibilities, just take a look at the bellow Mozilla MDN article:
https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries
P.S. Take also a look at the Images sample that is included with the App Builder installation.
Hello Stef,
Humm... of course the build and runs must continue working... the only difference can be the "_Compiled" directory: if you change the app's name, then the "_Compiled" directory reflect such change.
Hello Stef,
Don't worry! Take calm and follow the tutorial step by step. Sure that you finally be ready with this.
Hello,
Yes; you need the Android SDK installed in your computer. This is one of the steps in the above linked tutorial:
https://www.decsoftutils.com/blog/android-apps-with-decsoft-app-builder/
Hello Stef,
The error is more or less clear: you must add the "ANDROID_HOME" environment variable into the sytem's. Take a look at this article, for example:
http://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7
Or look around the web about how to add a new environment variable (the "ANDROID_HOME" one) in the system's environment variables.
Hello Mike,
Certainly we can use variables in the Reports (in fact you do it right now) something like the below one:
On the other hand, maybe the Checkboxes control are not the most addecuate when we want to let the user to choose one of some possible options. Are you tried with Radio controls or, maybe better, the Select control?
Hello,
Ok. Thanks for the advise. The link is now ok. But, anyway, don't forget the other link I put above and here again for your convenience:
https://www.decsoftutils.com/blog/android-apps-with-decsoft-app-builder/
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.