Hello Walter,
Firstly I need to say that I have not experience in this aspect. I try with an RTMP URL and they do not work, apparently this format is not supported by HTML5. For the Media Player component I use the fantastic Videogular player, which have certain plugin to deal with "Dynamic Adaptive Streaming over HTTP (DASH)".
Apparently the DASH MPD files are similar to RTMP but the browser support for DASH is very, very limited at this time. Maybe we can use some Flash player or something, but for sure we enter in possible lack of support for Flash in various platforms, then probably we can't do nothing about at this time Walter... I am sorry.
Anyway I am investigating about the Dash plugin for Videogular: maybe we can add it at least as an option.
Hello Walter,
We are talking about apps running in browsers or Apache Cordova compiled apps? Anyway take in easy with that Walter: the user must can made zoom to suit their needs. Then maybe disable the zoom is not a good idea, just let the app start without any zoom and let the user to choose the zoom level if they requires some special one.
Hello Walter,
Good error! Nope. I will take a look at this, however, can you tell me if Java is propertly installed in your PC?
And other point: please, try to create a Batch file (from the Tools menu) and choose to minimize the app code.
Then try to run the Batch that must compile and minimize the code of your app. Please tell me if this fail or what.
Hello Walter,
The "problem" is that Firefox support cross origin request for local files, but Chrome nor Internet Explorer support this. Use local files also have some other problems like the local storage support: again Internet Explorer, for example, do not support local storage for local files. This is the reason why I decide to incorporate an HTTP server which App Builder uses for debug purposes and not simple load local files.
Really I don't know if Chrome and Internet Explorer can be configured to support XHR and other stuff also in local files (probably yes) but this is not the configuration by default, then probably it's not a good idea to distribute our apps to be running as local files.
Hello Walter,
What is the error message that you get? The code minimizer tool is based in the YUI Compressor, which is included into the App Builder distribution. Since this program requires Java, maybe you have not Java installed? Anyway, please, post here the error message you get in order to try to help you.
Hello Walter,
The Pause app event is not available for browsers, just for apps compiled by App Cordova and for the Amazon Fire OS, Android, BlackBerry 10, iOS, Windows Phone 8 and Windows 8 platforms. But this platforms or browsers does not have a method to "close" an app. The users just go ahead with other apps, and, can back later to our app or simply not. The platforms are responsible to close the apps when the memory is low, etc.
On the other hand, the "window.close" method available for browsers appears to works only for opened windows from a web app, that is, there is not possible to close a web app page by itself. So the only way I can imagine an scenario that allow us to close an app is to use a first app to open the second one. The first one can use the OpenWindow action specifiying the "index.html" of the second app. And the second app can call to the "window.close" method to close their window itself.
In order to keep simple maybe we can use a simple "index.html" as the first app. From this "index.html" file we can use the "window.open" Javascript method in order to open our app in a new window. And then yes, such app can use the "window.close" method to close such window by itself. This can work (remember the times when the webpages start by opening a new window?) and right now its the only scenario I can imagine in order to do something like you wanted. If you have any other question please don't hesitate to post it here.
Hello Samuel,
Yes; in principle we need the "config.xml" file. In fact the required plugin is also refered in the "config.xml" file. My concern is if need to specify we want to add the required plugin from the possible build file in Mac OS.
Certainly App Builder build files (for Windows) instruct Apache Cordova to add the required plugin, but I don't know if this is really needed in Mac OS or Apache Cordova can take what plugins are required from the "config.xml" file as we can expect.
Hello Samuel,
Certainly this can be a little confuse. If I am not wrong we can't use Apache Cordova to compile iOS apps from Microsoft Windows (*), and, since App Builder is a Windows program, there is no sense to include a builder file for the iOS platform.
However, App Builder produced apps can be compiled for the iOS platform using Apache Cordova, but this need to be does from a OS X computer and with the required software SDK installed, like is described in this Apache Cordova help.
So the help about the Launcher plugin mean is the plugin is only available for the iOS and the Android platforms. App Builder can help you with the build file for the Android platform, not for the iOS platform. But the plugin works in both.
(*) Maybe we can compile apps for iOS using the Adobe Build service, but I recommend the Apache Cordova CLI version, and, on the other hand, I never try with an iOS app, to be honest.
Hello Walter,
You're welcome! About the Javascript variables and app variables I need to say that depends on the Javascript variable you can access it from the app or not. In other words, you can also access a Javascript variable (defined globally, not in a function, for example, because then the variable is out of the scope when the function is executed) between the "StartJS" and "EndJS" actions.
If you want to set an app variable from Javascript you can take in count that we use a "$rootScope" object to store our app variables, then we can write something like this:
But a more better way can be to declare the variable into the app and then continue writing the same as above:
If this answer doesn't satisfied your question, please, don't hesitate to post here any other doubt.
P.S. 25º C here right now,... but this is nothing... or the thermometer collapse during these days... or just wait a couple of hours when the sun appear here! OMG! :)
Hello Walter,
I think you are looking for something like the MediaSetSource action?
Hello,
Sound good too Nelson! Thanks for sharing! :)
Always thanks to you Samuel!
Hello there,
Update your App Builder copy Samuel: now we count with a "RowClick" event for the Report control. Take a look at the Report app sample, which has been updated in order to show us how to deal with this new event.
Hello Samuel,
For the first question, I think you wanted a way to move a control from the designer to a container. To do this the only way currently is to copy or cut such object, then focus the container, and finally paste the control from the clipboard.
For the second question, I will figure out how to implement a possible row click event.
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.