Hola Juan,
Creo que Asley le ha dado la clave, no obstante, revise esta ayuda. Si no consigue exactamente lo que precisa, por favor, no dude en decirlo en este hilo.
P.D. Gracias, Asley, por tu ayuda. :-)
Hola Juan,
Creo que Asley le ha dado la clave, no obstante, revise esta ayuda. Si no consigue exactamente lo que precisa, por favor, no dude en decirlo en este hilo.
P.D. Gracias, Asley, por tu ayuda. :-)
Hello Peter,
First of all, read also this help topic of the new generation of AB, which be also used for the previous one. If you have an Android device, you can attach it to your PC and use the "Run" BAT file, instead of the "Release" one: debug in a real device is better,... and not only faster.
About your specific error... first of all, a suggestiong: remember that, in some sense, Apache Cordova is out of the scope of AB (nor AB2), so, we can find around internet for information related with Apache Cordova errors... I am not talking that you can't post here, of course, but, that certainly you can get help faster (and the right one) searching in Google, for example, since Apache Cordova is widely used... to much than AB nor AB2, so it's easy to find the solutions of the errors... that are common errors and are found by many other people.
About the above specific error, are you installed the Java JDK? Maybe you have a Java version installed... but not specifically the Java JDK, which is needed. Start with that, Peter, install the Java JDK. I hope you can do it from this link.
Hello Michael,
For sure we need an Apache Cordova to do that. Here is the official one, but, no more supported by Apache Cordova, even when the documentation said we can continue use the plugin. May you can try this plugin... or try to search some other possible alternative, but, if I am not wrong, this is a task for an Apache Cordova plugin.
I never use such plugin, but, probably you can get the contacts' emails, so you can send emails to it. If you want to use their phone numbers, then you must use another Cordova plugin capable to send SMS to that numbers, so in both cases (emails or SMS) you can include the link that you need in the message body.
Hello Michael,
In principle, we can use any Apache Cordova plugin in our apps. What an Apache Cordova plugin offer to us is a Javascript API, so, we must refer to the plugin's documentation and samples, and finally use the provided Javascript API to get the things working. There are various sample apps that uses Apache Cordova plugins.
You must start prividing the right plugin's ID in the App -> Cordova -> General -> Custom plugins option, or using the App -> Cordova -> Batch -> After, depending on how the plugin must be installed: commonly the first option (specify the plugin's ID) is enough.
So you can start to try it, Michael, and, if find some specific problem or get stuck in something, ask here for help.
Hello Mark,
Always thanks you for your support, sir. Please, don't hesitate to post here any further question: remember to start a new thread if necessary.
Hello Mark,
Ok; here is the Login sample of the previous generation of AB, "translated" to the new generation of the product: Press here to download the sample. This sample will be also included in next release of DecSoft App Builder.
Hello Mark,
Yes; the sample that you mention is available in the previous generation of AB, but, not in the new one. I am working hard in certain "big feature" for the next release, but, may I can have sometime to prepare the sample also for the new generation of AB. In fact, it's not complicated: if you download the previous AB (you can do it from the Releases tab of your customer area), you can probably figure our how to "translate" the sample to the new AB.
Anyway, I will try to give some time to prepare that sample for the new AB and therefore include it with the installation of the product.
P.S. Ok... I will start to translate the sample right now... I will post it here when finish.
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Just to mention that, from some releases ago, we can made changes in the "AndroidManifest.xml" file using the app options -> Cordova -> Configuration -> Extra XML, so we can place a code like the below in the referred option:
By doing that we are allowing clear (non secure) connections in Android 9+. This include HTTP but also WS (WebSocket) connections.
P.S. The above is valid for the previous AB generation and also for the current generation of the product.
Hello Asley,
Maybe a bit of code can clarify the things here. Based in the "Table" sample app, go to the "view1" Show event, and, replace the Javascript code that you can see by the below one:
Originally we set the Array into the "table1.data" property, but, to filter the contents, we save a copy of the original "table1.data" in another variable, in this case "app.store.tableOriginalData". Now place a Text Input control in the "view1", below the Table, and, place the below code in his "KeyUp" event:
That's all. Run the app and type something in the new Text Input control: you must see that only the records who his name contains the query (the Input Text value) is shown in the table and not other records. It's more or less easy to expand the search to other fields, etc. Please, go ahead if you have some further questions!
Hello to all,
Asley is right: remember that the AB internal debugger / HTTP server don't support PHP, so, if we want to use a PHP script, we have two possible ways: move the compiled app into an HTTP server that support PHP, so we can use local paths for the required PHP scripts. Or the other possible way: provide the right URLs for the required PHP scripts, so the app can run in the internal debugger / HTTP server, but the PHP scripts run in a HTTP server with PHP support. In both ways we can get it working.
Hola Asley,
You no need to filter the table itself (the HTML markup), but the Table's "data" property. Whatever change you do into the "data" propery is automatically reflected in the table (HTML markup).
Hello to all,
Thanks for your work and for share it with us, Asley!
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
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 some useful cookies to store your preferences.