Posts by DecSoft

Show threads by DecSoft
3355 posts found, page 148 of 224

DecSoft (In thread: Apache Cordova HTTP tiny web server)

Hello!

Thanks a lot David for having made my thoughts clearer :)

No problem! :)


DecSoft (In thread: Apache Cordova HTTP tiny web server)

Hello to all,

Hello David,
Thanks a lot for that addition. May I ask you if this could mean that we could use the HTML Compiler with apps created with App Builder, now ? I am unclear on that point.
Many thanks

Nope Samuel. We are talking here about App Builder and some Apache Cordova pluging. HTML Compiler doesn't enters in the scene here. Certainly I am right now (what a casuality!) enhancing HTML Compiler... but not in the way that you may wanted, that, unfortunatelly is not possible.


DecSoft (In thread: Apache Cordova HTTP tiny web server)

Hello to all,

Hi David,

To be honest, I fan you for the great work you have done and still doing. I downloaded the sample project David made by you for keep, nevertheless it will be nice if David can add the sample project with AB.

Sometime, I think David doesn't know enough how powerful AppBuilder his, If David is living in my region. I will be one of your friends. Heart off for respecting you David.

AB rock!

Thanks for your kindly words edunt, even when for sure I didn't deserve it. :)


DecSoft (In thread: Can Date Input Value be shown formatted?)

Hello Antonio,

Is it possible then, to use a text input (to show the value formatted) and open up the native date selection (lets say on click),
or do i have then to fully customize my own date selection?

Certainly I try it before... by assign the Date Input to certain Label control. However, they apparently doesn't work with the Date Input hidden (curiously this same approach works with an Input File control).

In my opinion, if we don't want to rely in the Date Input, the best we can do is to prepare three controls for the year, month and day. These controls can be in a separate view which can be shown as a dialog. And, additionally, this controls can be Select controls instead of Number Inputs, then the user only must to choose one of the possible values. If you do not it before, take a look at the "DateTime" sample Antonio.


DecSoft (In thread: Serialization (like in Agenda Example) and Casting for Num and Dates)

Hello Antonio,

In principle, always that we use the "StrSerialize" action, then we must to use their counter part "StrUnserialize" in order to get the proper value. Said that, we only can serialize Arrays and Objects variables. In other words, strings and numbers can be saved without any serialization/unserialization.

If what we wanted is to save the value of an Input Date we can do something like this:

Then, to recover that value and place it again into an Date Input control we can codify something like the below one:

Hope this can help in something!


DecSoft (In thread: Apache Cordova HTTP tiny web server)

Hello Eduardo,

Thanks for your kindly words, sir! And please, tell me if you have any further questions! :)


DecSoft (In thread: Can Date Input Value be shown formatted?)

Hello Antonio,

Unfortunatelly there is not possible to set the format of the HTML5 input date control. You can take a look at this StackOverflow thread, for example. Certainly the browsers must to shown the format according to the user preferences, but apparently not all the browsers do it in the same way.

On the other hand, this input type is intended because the browsers (and other platforms like in the Android's WebView) allows to choose a date using certain calendar dialog. Maybe you can use a "normal" Text input to give the user's input, or provide three Inputs/Select controls for the day, month and years.


DecSoft (In thread: HTTPClient & Simplepost to send emails from our apps)

Hello Romeo,

The Select control, as well others controls, store their items in an Array variable. You can take a look at the "Select" and "Select2" app samples. Now supose we have a Select control named "MySelect", then we can get their selected item with a code like the below one:

The variable "[SelectedItem]" stores the selected item text, then, we can add it to the HTTP request in a way like the below one:

If you remember the other fields in the send email request:

... we can access to this field by their "keys/identifiers" in the server side, so, you know we can access to "EmailBody", "EmailSubject" and "EmailAddress" in the server side.

We can add any number of keys/identifiers and values pairs in our request, then, after this:

... we can also access in the server side to the "UserSelection" input, in the same way than all the others: "EmailBody", "EmailSubject", etc.


DecSoft (In thread: Fix Font awesome not show up in IE11 in window 10)

Dear visitor,

If you find this forum's thread after searching in Google, you must know we are talking here about App Builder:

App Builder is the first and unique visual development environment that allow you to create, with or without programming knowledge, HTML5 apps, WebApps, Progressive WebApps, WebExtensions and Hybrid apps for both mobile and desktop platforms.

Feel free to try it for free now! www.getappbuilder.com

https://www.youtube.com/watch?v=VbCD0-W3ryo


DecSoft (In thread: Apache Cordova HTTP tiny web server)

Hello Eduardo,

Finally I get some free time and can prepare a little sample for you. Please, download it from here: HttpServer.zip.

As you can see (I hope!) the sample works like expected, better said, the Cordova's plugin works as expected. However, probably this sample doesn't shown nor is implemented exactly that we can do in a real application.

For example, as you can see, we update the DOM from some Javascript code, however, this is not the way in which we must work in App Builder. Certainly what we must to do is to use the Cordova's plugin's API just like we needed.

Please, Eduardo, take a look at the refered sample, and tell me two things: if they works for you, and, if they can help you in your own implementation and/or if you have any further questions.


DecSoft (In thread: [solved]: Is it possible to have a swipe control?)

Hello Antonio,

Hi David,

one last question on this one. How to get lets say ClientY to use in AB?
I couldn't figure out.

thanks
Antonio

If you say, for example, that you want to know the "client Y" position in which an user click or tap a view, then you must use the View's event variable in a way like this:

All the controls (and views) includes an "Event" variable, which offer to us information like this.


DecSoft (In thread: [solved]: In need of an multi line Alert- or Messagebox)

Hello Antonio,

Yes; Please, in the app's view that you shown as a dialog, put the below code in their Show event:


DecSoft (In thread: Apache Cordova HTTP tiny web server)

Hello Eduardo,

What you must to include in the Cordova's Customs plugins is the plugin's ID, which in this case is "https://github.com/floatinghotpot/cordova-httpd.git" (without quotes). Once you get this ready what you must to use is the Javascript API interface provided by the plugin as is documented in the plugin's website. If you get stuck in some point, please, post here in order to try to help you.


DecSoft (In thread: [solved]: In need of an multi line Alert- or Messagebox)

Hello Antonio,

My above reply continue be valid, however, you can also upgrade your AB copy, because now both "AlertBox" and "MessageBox" actions supports multilines in their contents. However note that we are talking about HTML content, so you must modify your code to replacing the "\n" line breaks to be "
" HTML tags.


DecSoft (In thread: HTTPClient & Simplepost to send emails from our apps)

Hello Romeo,

David thank you so much for the great sample, it is amazing how fast you respond and help to solve problems.

You're welcome! Hope you find it useful!

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