Hello John,
If the sample can be useful for you that's the point! :-)
Posts by DecSoft Hello John,
If the sample can be useful for you that's the point! :-)
Hello Amin,
If with "notifications" you mean push notifications... note that they works like a charm, but, not always in real time... because the notification is finally sended by the thirdparty service that we use, like Google FCM. Or maybe I am a bit wrong and you mean other thing but not exactly push notifications... or there is not a problem to receive that notifications "not in real time" (even when sometimes... they arrive in a merelly real time).
Hello John,
You place a non too much specific question, that is, something like "I am trying this and this other but I expect this result and get this error message..."... It's possible to do something like you wanted using a bit of Javascript, and, one of the ways in which we can think is what you can see in the below app sample:
Save the above code in a file and save it as "MyApp.ab", for example. Before open the file with DecSoft App Builder, look in your computer for a PNG image and copy it aside the "MyApp.ab" file with the name: "butterfly.png". Now yes, open "MyApp.ab" with DecSoft App Builder and run the app.
As you can see, every time you click the view (and the app, since we use the scale app option), the butterfly appear in the position that you clicked.
No problem, Peter! :-)
Hello Peter,
Yes; I think you need the IfEx action...
Hello to all,
I think in your last post you are talking about some possible scenarios of the app, which of course you may need to control. In other words, the app must be ready to work in different scenarios, like what you describe using questions: "So what if one them don't deliver, or delivers 1-2 seconds late?" I supose that things like that must be implemented in an app level, that is, it's a question of the app's implementation. Am not saying that this all are easy, of course... just that maybe it's a question of think about, work on it, etc. Step by step, question by question...
Yes; again my help try are not very useful at all... but is what I can say right now: supose a bad connection scenario... then your server hardware can't do nothing,... so in my opinion it's the app who must control that kind of possible scenarios... in order to maintain the things working... at least in the best way as possible.
Hello Ade,
Apparently Apache Cordova can produce right now 64 bits apps for Android: the only "problem" can appear if any of our used Apache Cordova's plugins don't support Android 64 bits, so, in fact depend on the app that we are development and the plugins that we are using on that. If the plugins are ok, then our apps are apparently ok too for the Android 64 bits.
Hello Ade,
I am not sure if there is any issue... by default, the min SDK target is already Android 4.4 and the API level 19. Other options may must continue existing... to be used if needed, maybe not with the newest version of Apache Cordova, but with older ones, again, if we need something like that.
Hello to all,
Here is a new DecSoft App Builder release, with the below changes, fixes and enhancements:
Hello John,
We can try to see what can be the cause if your work computer anyway... but I am not sure how to help you right now! :-(
Hello John,
Your code it's quite curious, since, in principle, the DropDown controls expected a non associative Array: you provide an associative Array, so the control take the key's values. Maybe other do the things in other way, but, your code works as expected too.
About your concern, certainly you are not exactly set the value of the AB controls. Do that it's just replace one line of your code:
Doing that you can therefore access to the controls' "Value" variables like always.
Hello to all,
Thanks for your post, Samuel. Honestly I am not an expert in the server side, however, I think Samuel is correct, that is, probably we are talking about the server's hardware capabilities at the end. Of course, other things must be taken in consideration.
For example, from your three options, I will choose the first one, if possible, discarding the second one, if there is another way. One of the apps that I am developing (also using AB for the client side) uses a websocket with very, very good results.
The app that I am talking about are daily used by more or less 500 people (workers of a company) and the websocket provide to the app basically a chat feature: a very powerfull chat, so we know when someone is online, is typing, etc.
We use the websocket's server also in combination with push notifications, so, if an user is not online (is not in the app), we send to it a push notification, who open the app, who recognize the push type and shown to the user the latest chat's messages.
Once we can go working with the websocket... we love it. I think there is nothing that can be better, except maybe your third option, that is, suposing we no need a websocket, a real bidirectional communication between the server and the clients, and viceversa.
The main problem for the websocket I think it's the required of an own server, that is, probably (but we can talk with our hosting provider) install a websocket server into a shared hosting, for example, like the hosting who serve this webpage.
We need to install a websocket server (we use a Java websocket, if anyone are interested, I can provide here more information), work with it (on the server side) and also in the client side, of course, with the WebSocket control of AB, for example.
Can take a while... I remember we expend several time and work to setup the websocket, etc., but finally it's one of the best feature of the app in my opinion. And that's what I can say at this time about this... not too much help (like Samuel provide), but go ahead and post here any further question or comment.
Hello John,
If we are talking about an AB input control, then we probably want to use their value variable:
Your code can work also with AB controls (or an HTML input control that you place inside an HTML control) but if we are talking about AB controls you probably want to use the control's variables.
No problem, Amin!
Hello John,
Yes; please, take a look at the "WebExtension" sample.
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.