Posts by DecSoft

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

DecSoft (In thread: Poner App en pantalla completa automáticamente)

Hola Jordi,

Ya existe en AB una acción "ToggleFullScreen". ¿La has probado? Lo que puede ocurrir es que este tipo de acciones requieren de la intervención del usuario, es decir, los navegadores no permiten que lo hagamos nosotros programáticamente, sino es a través de un "click" del usuario, por ejemplo.


DecSoft (In thread: Música de fondo en vuestras aplicaciones.)

Hola Jordi,

Me temo que el plugin de Apache Cordova seguiría siendo necesario. No es posible, hasta donde llego, hacerlo de otra forma. Lo que quiero decir es que un plugin Javascript para AB sería más sencillo de usar: llamarías a la acción y listo, pero, el plugin Javascript, internamente, va a instalar el plugin de Apache Cordova, que, es quien hace el trabajo al final.


DecSoft (In thread: Música de fondo en vuestras aplicaciones.)

Hola Jordi,

Veo que al final diste con ello. Gracias por compartirlo. Acaso estaría bien un plugin Javascript para AB con una acción tal que "LoadBackgroundSound". Si tengo algo de tiempo (estoy ahora mismo intentando solucionar un problema, precisamente, en AB) acaso me ponga con ello. Gracias de nuevo Jordi. :-)


DecSoft (In thread: Creating Custom Components for App Builder)

Hello John,

Right now we can's expand the controls pallette of App Builder by using some kind of plugins. We have the Javascript plugins, which can add actions to the actions pallette, or just perform some task, and, maybe also create certain control in an specific Container control, for example.

You can also create controls in runtime by yourself, of course. But probably these all did not answer positively your question, since is not exactly what you wanted. You can find more information about Javascript plugins in the help file, and, some samples (but useful) plugins are included with the App Builder installation, as well a plugin template.

Maybe you can explain a bit more what exactly you wanted, or may you have some specific questions about the currently available Javascript plugins for App Builder or how they works. Please, let me know if you have any further questions John!


DecSoft (In thread: Distributing APP on Apple Store.)

Hello Napoleone,

App Builder generates several icons and splash screens for all the Apache Cordova platforms. You can locate it in the "res" folder inside the app "_Compiled" directory. Certainly, right now I can't say if we need to manually add an icon when upload the IPA into the Apple Store, since, the App Builder generated resources are intented to be used by XCode, not specifically for the Apple Store, in the case of the iOS platform.

Maybe you need to manually choose one the icons generated by App Builder, or may you want to use another icon specifically designed for the Apple Store.


DecSoft (In thread: Use of OpenWindow to reach external url ...)

Hello Napoleone,

Certainly, we can't open a new window (nor an URL) in the same WebView in which our app is runnnig. Better said, we can do it (because in fact the WebView -or a browser- deal with URLs, then we can proceed with an "_self" argument with "OpenWindow" action like you try, but, if the user come back using the history back action, then the app can enter in an unexpected behaviour.

Not always, but, is possible that our app initialize certain variables in the main view, for example, and then we do what you are try from other app view. Then, when the user come back to this last view, the firstly defined variables in the main view are not availables. This can be good for some app cases, and not for other cases.

What you must to do (and probably wanted) is to use the "OpenWindow" action with the "_blank" or "_system" arguments. That open the new window / URL in another tab or external WebView, and then, if the browser come back, our latest app view is show again without any problem at all, like if we open an app view using the "ShowDialog" action, we back to the "background view" without any problem.

Another possible way, if you want to open an URL inside an app view, can be to use an IFrame control. So please, Napoleone, let me know if you have any further questions.


DecSoft (In thread: Dropping support for Glyphicons and other changes)

Hello to all,

after update lastest version fontawsome come back again!

Thanks, David

Glad to know tin! :)


DecSoft (In thread: Dropping support for Glyphicons and other changes)

Hello to all,

Just to inform that DecSoft's App Builder uses now the very latest release (version 5) of the FontAwesome icons. Please, tin, try the icon picker dialog again, since we play now with three different fonts specifically designed to be used in the desktop: I hope that you can see the icons now: here everything works as expected.


DecSoft (In thread: Introducing the new Apache Cordova simulator)

Hello to all,

The Apache Cordova team has launch a new tool in order to test our apps with support for the Apache Cordova plugins. For more information, read the below Apache Cordova's bog entry:

http://cordova.apache.org/howto/2018/02/02/cordova-simulate.html

Using App Builder we can test and debug our apps using the integrated browser or an external one (AB provide the way to launch our apps in any installed browser). We can also test our apps by attach an device to our computer.

This last is the preferred way, because, certainly, we can test the used Apache Cordova plugins: they are not supported in the browser, then, we can certainly test our apps, but, taking in consideration that the Apache Cordova plugins are not availables.

With the new Apache Cordova simulator tool we can test our apps in the Google Chrome browser with support for the Apache Cordova plugins. What the simulator does is to open a couple of Chrome windows: one for our app, and another for the plugins settings.

Since this new Apache Cordova tool can be useful for us, DecSoft's App Builder prepares now another BAT and SHELL files for every platform, which prepare our app for the appropriate platform and finally launch the Apache Cordova simulator.

Install the Apache Cordova simulator is quite easy, just type this in an console window:

Once the tool has been installed, you can run the new simulator BAT or SHELL file in order to directly prepare your app for the right platform and then launch it inside the new Apache Cordova simulator tool.

That's all! I hope this can be useful!


DecSoft (In thread: Introducing the new app views Params variable)

Hello to all,

You know that DecSoft's App Builder create HTML5 apps, Progressive WebApps and WebExtensions for the modern mobile and desktop browsers, and, additionally, can also create hybrid apps for various mobile and desktop platforms like Android, iOS, etc.

If we want to deploy our app as an HTML5 app or an Progressive WebApp, that is, by place the app in some internet server, we can just launch the app's URL in order to reach it, for example, by using an URL like the below one:

Now, what happen if we want to pass some params to our app? The first way that we can think is to use an URL like the below one:

However, the above is not the best way, because, for example, the "param1=value1" are then propagated around any successive app view. Not to mention that we must extract the "param1" value from the URL by using some Javascript code.

To solve this, the current DecSoft's App Builder release introduce a new Params variable in all app views except the master one.

In order to pass one or more params to our app using the URL we can use an URL like the below one:

Note how we use the "/" character next to the view name, instead of the "?" character.

The above URL causes than the new "[View1.Params]" variable are filled and we can access to the "param1" value in this way from the View1 Show event:

Of course we can pass more than one param in the app view URL:

And then access to that params using the view Params variable: [View1.Params.param1], [View1.Params.param2] and [View1.Params.param3] in this case.

We can use the above kind of URLs not only with the main app view, but, with any view. In fact the Params variable has been introduced to be used with the main app view, in other words, to pass some optional arguments to our main app view.

However, the Params variable is available to any other view too. And, in fact, we can now use the "ShowView" and "ReplaceView" actions to pass params too. Remember that we can use the "ShowView" action to load an other app view:

Now, we can use the "ShowView" action in this way:

The above works as expected, that is, we can access to the [OtherView.Params.param1] and the [OtherView.Params.param2] variables from the OtherView Show event.

And that's all!

The current release of DecSoft's App Builder also includes a new "ViewParams" app sample (number 170!) that shows the usage of the new app views Params variable, and how we can use it with the "ShowView" action too.

Upgrade your AB copy, play with the new Params variable and the new "ViewParams" app sample and post here if you have further questions or comments around this!


DecSoft (In thread: IOS Apps, how to get them on the devices)

Hello to all,

Here is an new entry in the DecSoft blog that can be of your interest: iOS apps with DecSoft's App Builder


DecSoft (In thread: How to send latitude and longtitude to Googlemap App?)

Hello to all,

Hi David,

Thanks for the good news.

I hope can be useful! :)


DecSoft (In thread: Android APP - Need Suggestion For Minimise the APK Size)

Hello to all,

Hi,

Good to hear that there is new FileDownload on the release.
Although, I don't have latest version license at the moment to test it.
However, I will say well done David. Happy new year.

@Ianka: I will suggest that you should compress the pdf with this tool FILEminimizer by balesio. Maybe it might help. If not then David's idea is the best.

You know that AB apps can be extended with any thirdparty Javascript and Cordova plugins, so, even if you can't use the new "FileDownload" action (however, not only by this, I recommend you to upgrade your AB license), you can always use the right Apache Cordova plugins: Device, File and FileTransfer.

You can find several samples (in the Cordova documentation, for example) about how to proceed. If you need any help, just post here and we will try to help you edunt.


DecSoft (In thread: How to send latitude and longtitude to Googlemap App?)

Hello to all,

Just to inform that App Builder already includes various "Google Maps" samples, and, one of them, at least, shown how we can use the Location control in order to set the latitude and longitude in the map.

Remember than the Location control runs in all the platforms and browsers. Just look at the "GoogleMaps", "GoogleMaps2" and "GoogleMaps3" app samples and play a bit with them.


DecSoft (In thread: Android APP - Need Suggestion For Minimise the APK Size)

Hello to all,

Just to inform that the current release of DecSoft's App Builder added the new FileDownload action, as well the new "FileDownload" app sample. We can use this action to easily download files in both the app private storage or the user device storage.

Hope they can be 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