Posts by DecSoft

Show threads by DecSoft
3404 posts found, page 172 of 227

DecSoft (In thread: Modify the SwipeMenu app sample to swipe from right instead from left)

Hello tin,

I'm not sure if we can "interchange" the "...toLeft" for "toRight" and made some other changes... right now I am very busy with other more important questions and I have no time to deal with this. Can you please try a little and tell me if you found some specific problem or something like that?


DecSoft (In thread: [Fixed] Introduced app's options dialog bug in release 2016.177)

Hello tin,

Please, update your App Builder copy. Certainly there is an introduced bug that has been fixed.

Thanks again for the report! ;)


DecSoft (In thread: [Fixed] Introduced app's options dialog bug in release 2016.177)

OMG... I am investigating this right now tin, thanks for the report...


DecSoft (In thread: How to send raw JSON data with the HttpClient control)

Hello Joshua,

Certainly App Builder do not uses a form to perform HTTP POST calls, just certain Javascript "FormData" variable, which is filled in the right way to contain our desired data. You have some problem when receive the POST data in your app's server or something like that?

On the other hand, I will take a look, but, maybe a posible way to send JSON data is to "serialize" an Object variable or just send the JSON inside one of the HTTP POST call variables. Maybe we can also try by changing the HTTP POST call headers, but I am not sure about...


DecSoft (In thread: How to send raw JSON data with the HttpClient control)

Hello Joshua,

Ok. I will take a look at this, but please, Joshua, if you have any specific question, post it here! :)

Basically we can use the "SimplePost" action to perfom an HTTP POST call from our application including one or more key/values. The SimplePost's action editor we can see in the below image, allows us to place one or more key/value pairs in our HTTP POST call in an easy way:

In the above case the server receive two keys: "MyKey1" and "MyKey2", with their two specified values: "MyValue1" and "MyValue2". The server response are saved into the "[MyResultVariable]", but, as you know, there is not available just after the "SimplePost" action is executed, because they are executed in an asynchronous way.

And what happend if we wanted to know the server response of an HTTP POST call after perform it? If this is what we wanted the "HttpClient" control appear to the rescue. This control allow us to perform HTTP calls, also POST calls, and they have two events "Success" and "Error". Once the HTTP call is made, one of such events are fired, then we not only can know the server response, but also if a possible error occur.

How we can set the "key/value" pairs if we use the "HttpClient" control? Using the "HttpSetData" action we can do that. The below image show to us the HttpSetData's action editor. As you can see, we simply must specify the HttpClient control we want to use and the key/value pair we want to establish.

Once our HTTP call is prepared, we just call to the "HttpExecute" action to perform it. One interesting thing to note is that in both cases (by use the "SimplePost" action or an "HttpClient") our key's values can contains variables, and, if this variable is an Input File value, the user choose file is uploaded to the server along the HTTP call. We can take a look at various App Builder samples which deal with this like the "SimplePost", "SimpleFile" and the "HttpClient" samples.

Hope this information can help! Please post here if you have any further question Joshua!


DecSoft (In thread: A little of PHP (server side language) and the "sprintf" function)

Hello!

Hi David,

Thanks issued solved.

AB Ninja rock!

Glad to know!


DecSoft (In thread: A little of PHP (server side language) and the "sprintf" function)

Hello Ade,

The "feedback.php" script including in the Calculator sample is the below one:

As you can see we play with response codes, then we can use such response codes our the app.

About the email validation, I note that the variable can become "undefined", which is not "" (empty) but a different thing. Anyway, we always must validate the user's input also in the app's server.


DecSoft (In thread: A little of PHP (server side language) and the "sprintf" function)

Hello Ade,

Two things to note:

1º Your script must respond with an "http_response_code(200);" to avoid the Http Client's Error event to be fired.

2º Take care with the email input. Since they are an email input, for example, Internet Explorer put a value of "undefined" if the input's value is not a valid email address. May you can use the IsEmail action in the application.

Hope this information can help to solve your problem!


DecSoft (In thread: A little of PHP (server side language) and the "sprintf" function)

Hello Ade,

Please, can you provide me with a little application sample in order to try to reproduce the problem here? I can't figure how to help you without an small sample Ade...


DecSoft (In thread: How to sign our APK files to be published in the Google Play Store)

Hello!

PERFECT!

That did it. Awesome how great your software and support is. I will SWEAR by it and use it for all mobile and HTML5 programming.

Mike

Thanks for your kindly words Mike, I appreciate it! :)


DecSoft (In thread: How to sign our APK files to be published in the Google Play Store)

Hello Mike,

Yes; you have reason sir, we must increment the "version code" in the Android platform on every application deploy/upload to the Google Play store. We can do it from the app's options dialog as you can see in the below image:


DecSoft (In thread: Can I set report control sort data in a asc or desc way?)

Hello Joshua,

Please, update your AB copy and take a look at the new Report15 sample:


DecSoft (In thread: Can I set report control sort data in a asc or desc way?)

Hello Joshua,

If fact we can use the "Report.Order" variable to achieve that. If we prefix this variable content with a "plus" sign, then the order is performed in an ascending way. If we place a "minus" sign the order is then in an descenting way.

I will to prepare a Report sample around this, since certainly this is not refered in the help file, which of course must be updated accordingly too.


DecSoft (In thread: How we can include ads only in some specific app's views?)

Hello Kasito,

How are you shown the ads in your application? In fact, if you use the AdMob plugin (like in the AB "AdMob" included sample) we can hide/show banners just when we wanted, or also shown interstitials just when we wanted. Then, if we don't want to shown the ads in certain view we simply can do it, simply by not using the "Show" banner or interstitial methods.

Or maybe I'm missing something Kasito?


DecSoft (In thread: How to change backgroud row click whent click row in report control?)

Hello Joshua,

We can use the the panel related CSS classes of the Bootstrap CSS framework and maybe our own custom CSS stuff. For example, to vary the aspect of your refered sample "panels" we can use the "panel-warning" CSS class instead "panel-info" CSS classs.

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 cookies only to store your preferences.

Ok! Hide this note More information