I am working on Flex 4.5 SDK and using Flash Builder 4 IDE for my Flex/AIR Desktop Application.
In my project I want to load one html page in one of the canvas areas. I am using HTMlLoader to load my page. My web page loads successfully in the canvas area.
The problem is that when I click on the links embeded in the html page that I have loaded, they do not open in my browser window.
There is a property of HTMlLoader "navigateInSystemBrowser" which need to be set to true to allow the embeded links of the page to open in a default browser window. But this property works only in Flex 4.0 I tried running the same thing a sample project using Flex 4.0 as the SDK and it works perfectly fine. But when I work with Flex 4.5 SDK it does not works.
Please suggest if there any other workaround to achieve this.
Thanks,
Nitika
Flex 4.5 SDK have some rough edges, it's still in beta, so maybe it's not a wise decision to use it yet. Few days ago had similar issue, embedded resources didn't worked in Flex Hero SDK, but they were working in 4.1. After I almost gave up decided to try latest night build and so far it's working, tho strange longer compilation times are now my issue.
So first you may try latest 4.5 SDK, if not you should fall back to 4.1, unless you are depending on 4.5 features.
Related
I am developing an app for iOS which includes a UIWebView which, among other this, contains a video (stored locally, in the same folder as some images which are being displayed correctly).
This works fine in my own iPad, but I have been given another one at work to install the app to and there it shows nothing more than the video controls. When I click on the play button nothing happens. The iPad is owned by the company so any security feature might be enabled.
I have researched quite a lot and I cannot find any reasons why the app may be working on one iPad and not on another one. I know it might be impossible to fix without having a passcode or something like that but I need to know at least which configuration might be the one that is making the app not to work.
Using WKWebView fixed it. UIWebView should not be used any longer unless it is specifically needed.
From Apple documentation:
In apps that run in iOS 8 and later, use the WKWebView class instead of using UIWebView. Additionally, consider setting the WKPreferences property javaScriptEnabled to false if you render files that are not supposed to run JavaScript.
There are some available plugins already for chrome that can act as an auto page refresher. However if I want to check if some specific elements in the website have changed or not (e.g. an element inside a table) after refreshing, is there any available plugin that can act like that (or Firefox plugin)? Or is there any way to learn how to develop such plugin? Thanks a lot.
p.s. no experience developing chrome plugin, little bit knowledge in C++ and Java
I can't normally launch html5 the version of application in which there are scene2d ui elements. After transition to the Screen with Scene2dUI it turns out here
To look as application "works" it is possible.
The last version of a plug-in of gwt for Eclipse is set.
Why so occurs? The android and a desktop of the version work good.
In archive a test project. The source code from this example
The project was developed in Intellij Idea, html5 the version was compiled in Eclipse. Version Libgdx libgdx-nightly-20121213.zip. In http:// of compiled html5 isn't present.
In game where there are screens from use of Scene2d and screens with Scene2dUI screens without Scene2dUI work very well. If I switch to the screen from Scene2dUI there is an error as now on http://
Edit:
Issue 1169
This issue is now fixed. just get a pull the sources from github to update.
related post: http://www.badlogicgames.com/wordpress/?p=2704
I used the latest and greatest jQuery Mobile (RC1) to develop an app for the client. I used the latest Webworks version from RIM and packaged the app in a Cod file.
The app works great if accessed through the web browser ETC however when I installed the actual generated JAD/Cod files onto a blackberry device, performance was horrible even with minimum number of jQuery libraries.
Since I have Googled this everywhere and it is apparent that one cannot have a meaningful app experience if Webworks is used, I want to be able to just create something that just places the app icon on the phone. Once clicked, it open the browser and takes the user to the web server where the HTML files are parked.
Is this possible?
You can do that, with a very simple Java-application.
The following code:
Browser.getDefaultSession().displayPage("http://www.yourserver.com");
It will open browser and open page: http://www.yourserver.com
Browser class javadoc is here: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/browser/Browser.html
I just got my MacBook and am trying out the Flash BUilder on said platform. I've installed Firefox and Google Chrome on my MacBook but I can't seem to find a way to set which browser would launch my Flex apps whenever I hit the Run button inside Flash Builder. As far as I know, I can locate the Browser property on the Project Properties on my Windows copy of Flash Builder but I couldn't over here at my Mac. Any thoughts?
You can change the browser associated with Flash Builder in the Flash Builder preferences window. It's under General -> Web Browser. This sets the default web browser for all items launched from FB I believe. I don't know of a method for doing this on a per-project basis, but this should solve your immediate problem. This is on FB 4.5, by the way, but I believe it's the same for previous versions as well.