Posts by DecSoft

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

DecSoft (In thread: External javascript 'Hello World' using Firebase)

I will take a look... but I start by search for "output" and no results found... :-(


DecSoft (In thread: External javascript 'Hello World' using Firebase)

Hello Peter,

I am curious anyway... what kind of output provide the "non JSON" one? But it's ok... maybe this is not important (right now...), so yes, go ahead, start with what you think that you must to do, and, of course, on any problem, specific error, unexpected result, etc., post it here and we will try to help!


DecSoft (In thread: External javascript 'Hello World' using Firebase)

Hello Peter,

The problem is, of course, the time... I am busy with some customer's projects, also with my own ones... I have no time, for sure, to start to read about Firebase in a deep way right now, Peter. Maybe in the future, but for now maybe we can go ahead in a step by step way...

In principle, whatever thing that you can see working in an HTML file... must work in AB, because our AB apps are also HTML... of course we need what happen in the HTML file, what we do in that, in order to maybe "translate" and do the same thing in AB.

You mention that the database that you want to use don't provide JSON, but, you don't mention what is the format that the database provide... maybe you can use that format directly in AB (again, if the HTML file do it... in principle we can also do it...).

Another possible solution is to use a "bridge" between the database and our app. That is, we can prepare an app's server script, who deal with the database, and finally provide to the app the right data, maybe already converted to JSON, if we wanted that.

So please, try the above, and, of course, if you find any specific error or problem (this is important, that is, to be specific), don't hesitate to post it here, and we will try to help you as bes as possible.

P.S. I want to try your provided app XML, but, can't open it properly... please, take a look... and, if once you be sure that the code is correct, post it here: if then don't work... maybe you need to send me this specific XML (app) using my E-Mail address...


DecSoft (In thread: How to display a web content)

You're welcome! :-)


DecSoft (In thread: Open pdf file and display pdf content)

No problem! :-)


DecSoft (In thread: Open pdf file and display pdf content)

Hello Danny,

We can use an IFrame control like you can see in the "PDFViewer" app sample. We use here our own PDF viewer (the Mozilla PDF viewer). We can also use that viewer in order to shown the PDF using the "OpenWindow" action. Another possibility is to use the "OpenWindow" action without any viewer, but the system may have no viewers. Can be another possibilities like download the PDF file and open it, using the system default viewer. Depending the target platforms we can use one or another approach.


DecSoft (In thread: How to display a web content)

Hello Danny,

The "in app browser" window of the Apache Cordova "Browser" plugin is shown in full screen, and, we can't do nothing about: the user must use the back button of the devices to get back to our app. I think we no need a back button here... since the user know what to do... use the back button of the device... this is my opinion, of course.

So the only way to do what you wanted is to show the external URL inside an IFrame control. Doing that we can certainly place the IFrame and the Push button that we wanted in the app's view. The problem here can be two, but in fact it's the same: the external URL can refuse to be shown inside an IFrame, and, on the other hand, maybe the contents of the external URL don't shown as we can expected inside the IFrame.

We can say that the IFrames can be useful to shown our own external contents, but not "any" website, since the problems referred above. I am not sure if one of these problems is what you get: I am not sure if the external URL that you try to show refuses to be shown in the IFrame (I remember that I try your URL, and it's works inside the IFrame).


DecSoft (In thread: Javascript objects)

No problem, Ryan!


DecSoft (In thread: Javascript objects)

Hello Ryan,

That is (between other things) what you can see in the referred tutorial. If you need to assign a value to an AB variable from Javascript, you can use something like this:

Once that the "MyVariable" AB variable have the expected value.


DecSoft (In thread: Javascript objects)

Hello Ryan,

I am not sure if can understand... for that we have the StartJS and the EndJS actions: all the code inside that actions are considered Javascript code, so, we can use... Javascript code... to do whatever we need...


DecSoft (In thread: Javascript objects)

Hello Ryan,

Yes; the code between the StartJS and the EndJS actions is pure Javascript code. Take a look at this help tutorial about how to access AB controls and variables from pure Javascript code.


DecSoft (In thread: Insert Database Not Working)

No problem at all! Glad to know that you finally catch the problem :-)


DecSoft (In thread: Insert Database Not Working)

Hello Danny,

No problem! (sorry if I appear rude, that's not my intention at all!) When you write your posts here in this forum, you use some "p" HTML tags to define paragraphs. Ok, just in the same way use the "code" HTML tag, and place inside that HTML code tags the code that you wanted. Look here for more information about the "code" tag.


DecSoft (In thread: Insert Database Not Working)

Hello Danny,

Please, please, use the HTML code tag when post code... in other case I must do it for you! About your question, certainly, the code that you shown appear correct, so, the point is what happen... for that reason I told you to use the Firefox Developer Console... after you made the HTTP call using your AB code, something must happen... the request must end... successfully or not... may you can see some other error, etc.


DecSoft (In thread: How to display a web content)

You're welcome Danny!

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