Posts by DecSoft

Show threads by DecSoft
3354 posts found, page 62 of 224

DecSoft (In thread: Converting old AB over to new AB)

Hello Peter,

I will try to reproduce the problem in your sample app, however, the new AB no more stores the app project stuff in a sole XML file, but separate the stuff in various files. So I can't just save the above file, but also, at least, the files that you can see inside the "__project" folder. Feel free to send that files to my E-Mail, or upload it to some thirdparty server or your own one and post here or send me a link to the zip. :-)


DecSoft (In thread: App.Online ni the new AB)

Hello to all,

If we plain to target both Android and the browsers, then we must definetively do one thing in one platform and other thing in another platform, so use the Cordova plugin in Cordova platforms, and the browser stuff in the browser platform. There are ways to know if we are in one or another platform: not right now out of the box, but, it's possible by checking the existence of the "window.cordova" variable, for example. We can prepare an app function who tell us what we wanted, no matter in which platform we are.

Maybe we target Android and iOS, so Cordova platforms, but, not the browser, then maybe we no need to really use the browser stuff, but the referred possible app function can return certain specific value if the app is running in a browser (for testing purpose). That is, returns some "usable value", no matter if we are really online or not, reserving the "real value" when the app is running in the Cordova platforms. Both ways are possible, and, even when we don't have the right stuff (right now) out of the box, we can use the Javascript power (libraries, piece of code) all the time.

P.S. So, David, all the above to say that AB2 have nothing like "App.Online" right now? Well... I supose yes... that is, something like that (a method who returns "online" or "offline", no matter in which platform we are) can be expected in the future. Maybe what I want to say is that that is not a cause to stop our developing, there is not a problem to use any kind of Javascript stuff that can help us, instead we have another more direct method, to say like that.

In fact this is one of the best features of DecSoft App Builder: we are talking about a Javascript IDE, so almost all piece of Javascript is suitable to be used in our apps if needed, no matter if the IDE include it by default or not. :-)


DecSoft (In thread: App.Online ni the new AB)

Hello to all,

In addition to what Samuel suggest (thanks, sir!), if we plain to target Android, iOS, etc., we can use the Network Apache Cordova plugin, which is included out of the box.


DecSoft (In thread: Converting old AB over to new AB)

Hello Peter,

Taking a look here... I can't reproduce any problem using frames related with the cache... that is, if I made a change in a control which is inside a frame, after I compile and run the app, I can see that change in any view that uses the frame. So apparently we are not talking about controls changes...

Before I post this message I also test to made changes in the frame controls events, searching for a possible problem while deal with the code, and not with the controls properties, but, again, I can't reproduce the problem: any new code that I introduce in a framed control, is there as expected at runtime.

So maybe you certainly find a bug... but we need a way to try to reproduce it, in order to search for a possible fix. Please, try to reproduce the problem, maybe in a new app, and therefore post here how you can reproduce the problem, in order to try it here by myself.

P.S. Maybe the problem is related in how you are launching / compile the app? Please, review this help topic. It's not the same to use the Run button, the Debug button, to save or not the app before compile or launch it, etc. Commonly we use the Debug button, since doing this the app is automatically saved (if needed) before be compiled and launched.


DecSoft (In thread: Converting old AB over to new AB)

Hello Peter.

I will try to take a look... of course it's not the desired nor the expected behaviour. The DecSoft App Builder cache is a bit more complex than before, since it's working now in a control level, not an app view level. On the other hand, the frame control is a bit more complex, since contain other controls, etc. But of course this don't mean that the things must works like you see now... I will take a look and see what we can do about: fix the problem, so the cache start working as expected.


DecSoft (In thread: Converting old AB over to new AB)

Hello Peter,

Glad to know that you got it. The template syntax can be really useful, because we can deal with virtually any kind of variable type, so we not only show "simple" strings, but also HTML, arrays, objects, etc. We can also show or not certain stuff, etc. It's quite useful. You can take a look at the HTML sample app and play a bit with it.

About the app resources, they are not exactly the same thing than the app global / reactive variables. The resources can be easily translated to another languages, for example, by using the app languages manager.

About the Text search, yes, I know is a must in the IDE and I want to implement it as quickly as possible, which mean that I can't place a date here, because I am really busy with other lot of tasks! (Developing with both AB and AB2, in addition to other things!), but it's a must and therefore must be incorporated in the IDE sooner or later.


DecSoft (In thread: Converting old AB over to new AB)

Hello Peter,

In principle, you are right, that is, it's the way to show a string variable (or his string represetation) inside an HTML template, like inside the HTML control. You can easily see it by copy this code ("as is", you can copy the below code into App Builder, so a new HTML controls is created with that text inside, ready to be tested):

So, if the "app.store.AppHeaderTitle" variable exists... then can be show in that way if you wanted. If the app contains some HTML you can try this other way instead:

In fact, I just try your suggested code, that is, I place the below code in an app view Show event:

And then, in the same app view (can be another too, but you already know it), I use an HTML control with the below code inside:

... and I get the expected result, that is the text "Home Screen" inside the HTML code. So, please, Peter, remove the "_cache" directory (perhaps is causing some problem?), even the "compiled" directory (paranoic mode), and try again, since your code look as the expected one.


DecSoft (In thread: Ready for the next DecSoft App Builder's features? ;-))

Hello to all,

For your information, here is the new release of DecSoft App Builder, which introducing the app resources manager and the app languages manager, in addition to other news, changes, fixes and enhancements.


DecSoft (In thread: New App Builder 2020.22)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: Html Tags in AB/ PHP JSON data to AB)

If the above didn't reply your question, please, let me know, Michael.

Just post here if you have any specific problem or question.


DecSoft (In thread: New AB : interface layout ?)

Hello Samuel,

Unfortunately, the layouts cannot be configured in the new DecSoft App Builder. We want to do something about it in the future, so, it's something expected to be available, when other tasks give us some free time. :-)

If the above didn't reply your question, please, let me know, Samuel.


DecSoft (In thread: Publish to iOS)

Hello Danny,

In fact it's more or less easy. Once you check the "iOS" platform in the app options, when you compile the app, you get various "SHELL" files. What you must to do is to copy the app "compiled" directory into a Mac OS. Once you get the files in the Mac OS, you can run one of the "SHELL" files, for example, the "debug" one. Once that "SHELL" file is executed, Apache Cordova has been generate a "project" ready to be opened by the XCode IDE.

And that's all. You can open the project with XCode and start to debug the app, launch it in an attached device, archive it, etc.

P.S. Note that we don't get a "success" message after execute the "SHELL" file in a Mac OS, in the same way that we get a "success" message when execute a "BAT" file for the Android platform in a Windows PC. Don't worry about that. Once the "SHELL" file ends, just close the console and goto XCode to open the generated project.


DecSoft (In thread: Inserting Admob to AB)

Hello Michael,

Please, try to don't mix various questions in the same thread: you already open a thread here about your question related with JSON and PHP: in fact, I propose something in that thread, I did not get a reply yet. So, if you can, please, continue in the linked thread.

We will be happy to help, and I say we, because, any DecSoft customer has the ability to participate in the forum: some of them already does, some others just no need it, some others... etc. So I will try to help you and of course any other who can participate can try to do it too.


DecSoft (In thread: Inserting Admob to AB)

Hello Michael,

Are you try with the "Admob" sample app?


DecSoft (In thread: Ready for the next DecSoft App Builder's features? ;-))

Hello Asley,

Thanks for your post! I will expect to publish it as quickly as possible: there is some work to do yet. :-)

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