Hello Joshua,
About this last question, I think you can access the "Response" variable. You must try it.
P.S. Please, put every new question in a new forum's thread. :)
Posts by DecSoft Hello Joshua,
About this last question, I think you can access the "Response" variable. You must try it.
P.S. Please, put every new question in a new forum's thread. :)
Hello to all,
I update App Builder right now in order to include certain changes made over the "PushPlugin" app sample. Now, instead of use one PHP script for both, the registration process and the send message process, we use two separates PHP scripts, and also an HTML file with a form, which we can fill to send a push notification easily.
On the other hand, remember this application uses certain Google API authorization and credentials made specifically for the sample, so, if you want to use the "Push plugin" in your application, you must get your own Google API authorization and credentials. If anyone need some help about this question post here and I will try to help.
If anyone want to try, folowing the below link you can download the "PushPlugin" APK file, then you can install it in your Android device.
Once you do that you can already request a push notification (as a sample) from the application, or, even better, using the below HTML form:
https://www.decsoftutils.com/Humm/Sites/Main/Views/Data/AppBuilder/Samples/PushPlugin/sendpush.html
Attention! I have the sample application installed, then any message you send arrive also to me and to other possible users too!
Hello Joshua,
Just for your information about the "Build", "Debug" and "Run" commands:
Build (F8) - This command build the application, but no save it before. This command is intented when want to deploy our application, that is, we debug it previously, save the latest changes and then we are ready to deploy so we use the "Build" command. The "Build" do not include debug information in the application, which is good to enter in production.
Run (CTRL + F9) - This command run the latest app's build available. They build the app (without save it first and without include debug information) if a previously build is not found. This command is intented to be use when we want to launch the latest build quick and fast, since this command don't save the app nor build it (if found an existing build) but just launch the latest build available.
Debug (F9) - This command save the application changes if any, then build the application including debug information on it, and finally launch the application into the integrated debugger. This command is intented to use when we are working on the application, and just want to debug it to review the latest changes, etc.
---
This last (Debug) is the prefered command when work in the application, since they include debug information in the application and additionally the Debug command doesnt' write manifests files for our applications nor other stuff which is not required to debug the application into the integrated debugger. So this is another point to use the "Build" (F8) command when we want to deploy our application: the "Build" command yes write manifests, prepare icons, splash screens, config files and other stuff.
So in conclusion:
1º Use the Debug (F9) command when work in the application. Additionally use the "Run" (CTRL+F9) when you only want to launch the latest build/debug.
2º Use the Build (F8) when you are ready with your application and want the files you need in order to deploy it into your desired platforms.
Hope this information can help you Joshua. :)
Hello Joshua,
Don't appear lot of code to me, and after all they have their sense and logic. The only think I see is something like this:
This can be work, but, I think not recommended. A better approach can be one of these:
About the "Response" of an HTTP Client control, if we are talking about a JSON response, then we can access that object directly using the "Response" variable, without any other thing to do before. You can take a look at some of the "JSON*" included app samples.
Please, Joshua, post here any further question you have.
Hello to all,
This App Builder's Javascript plugin allow us to send SMS messages from our applications. This plugin uses the Cordova SMS plugin for Apache Cordova.
This plugin is included by default with the App Builder's installation along with the SendSMS application sample included by the App Builder installation. Take a look at that application sample in order to view how to use this plugin.
Hope can be useful!
Hello to all,
The Flashlight plugin allows you to switch the flashlight / torch of the device on and off. This App Builder's plugin uses the Flashlight plugin for Apache Cordova.
This plugin is included by default with the App Builder's installation along with an Flashlight application sample. Take a look at that application sample in order to view how to use this plugin.
Hope can be useful!
Hello to all,
The Feedback plugin allows to use the native haptic and acoustic feedback in the Android platform. This App Builder's plugin uses the Feedback plugin for Apache Cordova.
This plugin is included by default with the App Builder's installation along with the Feedback application sample included by the App Builder installation. Take a look at that application sample in order to view how to use this plugin.
Hope that can be useful!
Hello to all,
The App Builder's AdMob plugin allow us to shown banners and interstitial ads inside our Apache Cordova builded applications. You need an account in the Google AdMob website and create your own Ads IDs in order to provide it to the plugin. This plugin uses behind the scene the AdMob Pro plugin for Apache Cordova.
This plugin is included by default with the App Builder's installation along with an AdMob application sample. Take a look at that application sample in order to view how to use this plugin.
Hope that can be useful!
Hello Joshua,
I perfectly understand what you wanted, and, certainly, the HTML Select control allow us to put a "visible" value and a non visible one, that is, we can show to the user the string "A", but the Select's option (item) can have associated a value of "1", other number or other string.
Said that, App Builder doesn't work in the same way with the Select control, then we can't think in the above solution, but a possible workaround to get what we wanted. Remember we can deal with "normal" variables, "Array" variables and "Object" variables.
Maybe we can use some approach like if receive an object (maybe a JSON response) with pairs of keys and values, and then use the keys to feed the Select control. Then, when the Select changes we can iterate over the object variable to get the value of the key.
I think we can do that and maybe in others way too, so I want to ask you now, how you receive the key/values pairs? How you feed the Select control right now?
Hello Sabino,
Certainly we can do it. In fact the "PushPlugin" app sample demonstrates how to do it. As you can see in that sample we need to use certain Apache Cordova's plugin, deal with a little of pure Javascript (just an app's Javascript function) and finally an account in the Google Cloud Service API.
We can send the push notifications using some server script (like the "PushPlugin" does) or just by using the Google service console. Basically we "push" a message and then anyone who have the application installed receive such message as a notification which the users can click in order to open our application.
The problem is, Sabino, you already can found this ready in the "PushPlugin" app sample... so I am not sure how to help you... since you can simply copy the appropiate code to your application, etc. So if you have any further question don't hesitate to post it here.
Hello Samuel,
Please, update your App Builder copy. Among other enhancements the current AB release includes a new "Architecture type" option in App Options / Cordova / Windows. The architecture type is only taken in consideration when creates the "release" BAT file. If you think they can be useful too in the "run" and "debug" BAT files, please, just post it here and I will add for the next release.
Thanks for your feedback!
Hello Sabino,
Thanks for your interest in App Builder. Are you take a look at the "Pusher" and the "PushPlugin" app samples? Maybe one of them can be useful to your purpose, so try it and post here if you have some further question.
Hello Andreas!
Thanks for sharing your plugins with us sir! :)
Hello Andreas,
Many thanks for sharing this with us! :)
Hello Andreas,
Looks nice! Thanks for sharing this plugin sir! :)
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.