Hello again,
I think I forget something... you talking about the "SimplePost" action and the "HttpClient" control. Can we use the "SimplePost" action to send emails instead of the HttpClient control? Yes, of course, and also the "SimpleGet" action.
However, this actions doesn't provide us any feedback about the request, then, probably it's a good idea to use an HttpClient control, like in the "SendEmail" sample, then we get informed if the task is successfully executed or what.
Hello Antonio,
Good morning! A couple of things to consider here. First of all, certainly the native Alert doesn't look too better, however, is native... and, for example, in Android, the native Alert (and including/checking the Cordova's Dialogs plugin in the app's options) looks very nice. So this is the first thing to consider.
The second thing is, what about use certain app view to act like the "alert dialog"? May you can prepare a Textarea or HTML control in an specific app's view, and then, use the ShowDialog action to shown that view in a dialog way. So in certain mode you can create your own custom message box using an app view.
Hope this can helps!
Hello Romeo,
Thanks for your kindly words. I certainly think that your issue is related with the ability to send emails from our applications: we simply can't do that from our applications nor from any other Javascript based application: we can't send emails from Javascript, except using a thirdparty online service.
However the server side yes, can send emails, then, what we can do is certainly an HTTP request to some script in our server in order to send the email we wanted. If you are using PHP in the server side, for example, they offers to us the well named "mail" function.
So what we must do is the following:
- In our application prepare an HTTP POST request to be made with the HttpClient control.
- The request must contains the recipient email address, the email subject, the email body and more (if needed).
- In the server side, we deal with the received request and pick the appropiate input: email address, subject, etc.
- That's all. The server side script, for example, PHP, call to the "mail" function in order to send the email.
In fact I start to work here in a sample for you, but, when I almost finished the PHP script... I just remember that the Calculator application sample already incorporates an script like that for their "Feedback" view. So you can take a look at that sample too.
But, since I almost finished the PHP script... and the application sample can take not too much time (thanks AB!) I want to prepare a sample for you specifically designed to send emails from the application.
So please, upgrade your App Builder copy and take a look at the new "SendEmail" sample.
Then tell me what do you think about Romeo!
Hello to all,
What tin suggest is correct. We have also the HistoryBack and HistoryForward actions, as well the app's ViewChange and BackButton events and some useful app's variables like "[App.CurrentView]".
Hello Antonio,
i see. Sure that works in this case, but you're right that needs improvement.
The idea is to provide the functions two values, one that will be extended and the other that extends, without knowing the outer variables, so that i could use AddLine for any variable i put in, and do not need to know it's global name.
So, here we are again with use of globals :|
I think that, with a little of care, we can do the job (as we see in the sample application, prefixing the app's function's arguments in some well knowed way). Certainly this is not exactly a question related with global variables... I say behind the scenes is not a question like that, but how AB parse the app's and app's functions code. Anyway yes, probably I must try to look into this more deeply Antonio.
Hola Antonio,
I think I must to apologize... certainly this is something that may can be improved in the future, however, rigth now we can get this kind of issue when try to update an app's variable from a function, if we use the same name in some of the function's arguments.
The solution of course is to rename the function's argument, so we can get the things working as expected. I remember you ask something to me in relation with AB functions, and I forget to comment you this possible issue, then my apologizes.
Maybe until I can't do something about can be a good idea to document this into the program's help. For now, please, download and take a look at this prepared application sample, because I think you can view working what you wanted. Note how I rename the "[WarningMsg]" function's argument to be "[AWarningMsg]".
Hello Antonio,
We can always use the control's "Event" variable, in this case the Report's "Event" variable in order to give information about the element implied in the event. For example, just add the below line into the "RowSwipeRight" event of the modified sample I attached above:
Now run the application in Firefox, for example, open the Developer Console (press F12) and then look at the "Event" object that you can see. They contains lot of information in form of variables like you can see in the below image:
Maybe you can use that information to get what you wanted, but, take care, since some of them can be only available in certain browsers and not in others.
P.S. I receive your purchase order right now Antonio, please, let me know to prepare the right stuff and then I will contact you via email. Thanks very much for your trust and your purchase. I really hope App Builder can do something useful for you!
Hello Antonio,
That's good i need that too ;-)
But i meant:
The Y-Coordinate of the swiped row.
I need that to adjust the Top Property of the container control that i want to swipe in, like you do in the SwipeMenu Samples.
Before continue in that way... maybe you want to remove the record? If so, and, if you remove it from the Report's Data variable, then the record dissapear from the Report control without our intervention. Do you need something like this? Anyway I think we can get the coordinates if we wanted... but I am not sure how this can be really useful if you can achieve it using the remove record from the Data way. What do you think about?
P.S. Additionally, you can also move the record around the Report's Data variable: any changes in that variable are reflected in the Report control automatically.
Hello Antonio,
Yes; in the Report's control's "RowClick", "RowSwipeLeft" and "RowSwipeRight" events we have available the information about the record who is "clicked" or "swiped". Additionally we have also available the "index" of the record in these events. You can take a look at the "Report14" sample to view a possible use of the "RowClick" event.
I also modified the refered sample (in fact just copy the code from the "RowClick" event) to do the same but using one of the "Swipe" events and you can download it from here: SwipeReport.zip.
Please, let me know if you have any further question Antonio.
Hello Antonio,
Thanks very much for your kindly words sir. And about your last question, please, can you explain me a little more what you means by "the Top of the current Record"? Thanks!
Hello Antonio,
Wow, that's awesome.
I didn't mean to copy controls.
I wanted to tell where i take my ideas from and ask if it would be possible to have such an functionality,
not the entire control and look a like.
I fully understand that we act on a html and scripting plattform to maintain cross-compatibility.
I think i've got an idea how to implement it, that i get a similar functionality like asked.
And that is great.
I know i ask a lot without having bought AB but i will do it briefly.
Great Support, thanks
Antonio
Don't worry at all! I talk about the native controls just for your information and maybe for others interested users. On the other hand, take all the time you need to try App Builder or any of my software!
My software trial versions are not limited in features nor time, so anybody can try it with the fully characteristics availables and without worries about the time they need, and, always using the latest releases.
So don't worry at all: the point is that you get the program useful and can get something good from their usage. If so I am more than happy, if not, well... fortunatelly out there are too many tools to be tried! :)
Hello Antonio,
Two things to consider here. First of all, please, upgrade your AB trial copy. I added the new SwipeLeft and SwipeRight events into the HTML and the Report controls. The Report control also have now the RowSwipeLeft and RowSwipeRight events. Finally I also add the new "Report18" sample who shown these last events usage.
The other thing is about the possible "copy of other controls" in AB. Certainly we can't get availables all the controls that may we can see in other applications. It's normal, and, not all are disadvantages. For example, a control like what you shown in the above video, is probably a native control, who means that can only works in one platform. Other platforms probably need other "similar" native control.
But we in AB uses controls that can works in all the possible platforms, so, may we can't have all the controls or native controls, but the controls who we have can works without changes in all the possible platforms. This is something to take in consideration, since we can't said the same if talking about native controls. They are good, but works only in the platform in which are intented for use.
Please, let me know if you have any further question Antonio.
Hello Antonio,
Certainly right now only the app's views have an "SwipeLeft" and "SwipeRight" events. Please, let me to take a look to get this events in other controls too. I will inform here about any progress.
Hello Aldrin,
Hi
In app builder. How can get notifcation from my app in a specific day like for example, every monday at 6pm i want my app give me notification?
Again I think we need more detailed information here. For example, if you wanted a notification every monday at 6 PM, probably you need some app's server side stuff. Then it's the server who look for the appropiate day and hour, and who send the notification to your app. Are you tried with the "PushPlugin" sample? Or do you want another kind of notification?
Hello Aldrin,
Hello may i have a favor i really don't know whats wrong here why gif image doesnt show. May you correct?
https://www.dropbox.com/s/rgtohvtjctm4s3j/New%20folder.rar?dl=0
I can view the problem. Certainly you use an app's local path for the GIF image, but you must add that image firstly using the app's files manager. Then first of all open the app's files manager (press F6), goto the "Images" tab and press the "Plus" button to add your image file. Once you add the image save the application and run it again.
Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.