I am currently building an app using Flashbuilder for an Android device.
On several pages I have a spark component videodisplay or videoplayer in the pages.
For whatever reason the first time I open the app and navigate to that page the video doesn't load.
If I move off that page and go back the video shows fine.
If I then lock the screen, and then go back to the app I again navigate to a page with a video and again it doesn't display on that first showing.
Extensive websearch etc and I cannot find anybody else with the same error.
trace() shows video loads fine, both in s:videodisplay and s:videoplayer.
Any help would be brilliant.
Fixed the problem
It would appear that this is actually a bug with the AIR SDK (Bug 3354849 on Adobe Bugbase refers)
The new version of SDK (3.7) now requires the following code added to the manifest file.
<containsVideo>true</containsVideo>
Related
I design new website using Joomla but this time I see something strange!
On any android device (by default browser (chrome)), it will show white screen if I refresh any pages of website.
please note it will happen only at "page refresh" events. I mean when you directly open the site with using address-bar and if you open links inside the website, it will show the page correctly, but if you refresh current page (with using "refresh button") you will see a "white screen" without any content.
I am sure that content is loaded correctly, because if you change the rotation of your tablet (or mobile) or if you tap white page and try to scroll down, website will appear!
seems there is several type of report for this problem:
https://superuser.com/questions/440416/chrome-displays-a-page-for-split-second-then-it-goes-blank
but I could not solve the problem with those solutions.
do you know any way to solve this problem?
Thanks
I got it
in Joomla by default jQuery is loaded. in Joomla 3.6.2 (that I am using), it's loading jQuery v1.12.4 by default that is stored in this directory: /media/jui/js/jquery.min.js
I just try to replace it by latest version, it solve problem but it create another one! in the console log I got a message that I can't use jQuery V3 because of bootstrap. then I downgrade to jQuery v2.2.4 (the latest version before version 3) and Hoooraaaaaaaaa, it's working now without any problem.
hope it help someone else
thanks
Hello have this problem on android webview app, trying to load responsive website in app. and getting this error in app:
Webpage is not available The webpage at https://mydomainname.com/
cud not be louded becouse.
NET::ERR_EMPTY_RESPONCE
Website works perfectly, funniest that on iphone works perfectly, and after restarting app I don't get this error, just one time after installation.
EDIT:
Im thinking of one solution, may some one help my. Im thinking of making auto refresh one time after app is lounched, do some one have code?
I will release my second android application on Google Play soon.
But before relase I'm trying fix bugs.My application parse newspaper columnist article and show in application. I have 17 newspapers. Two of them bugy like same bug.
You see proggress dialog on middle. It's not mine application. It's mobile version of newspaper,Radikal...Although page loaded it is not disappear...This happen only my application and on tablet browser, there is no problem
This is Hurriyet newspaper's mobile version of site... It stuck like same. articles come after loading. But page stuck on loaded...
What problem can be ??
Note:If you want to see my application see, You can download it on omer-demirci.com/a.apk . After download click menu click gazeteler and you well see newspaper names click hurriyet or radikal
I solve the problem
Webview by default comes with JavaSript false.
enabled it and solved
webview.getSettings().setJavaScriptEnabled(true);
I'm having this little issue with PhoneGap when playing around with it:
Whenever I open an external link on my iPhone, it goes fullscreen and there is no way back but terminate the app and start again. I've read some articles and think this could be easily fixed by just calling window.open (or navigator.app.loadUrl on Android).
However, the problem continues with 3rd party library. In particular, I'm using Google Maps and the widget has little links to "Terms of Use" and something else. Tapping this link will load the Google URL full screen again.
My question is, is there any global configuration/code to either modify the in-app web browser (add header, back button and so on) or open every external links on device's default browser?
Thanks for reading and helping :)
First you study about InAppBrowser.
InAppBrowser open with close(done) button . This is not working means you also use ChildBrowser.
Reference 1
Reference 2
We are developing an app using jQuery mobile and phone gap. Everything seems to be working fine but when running the app on a connected Android phone we see tons of errors like this in the Eclipse logcat
:0: GetPTLAFormat: invalid format
Any idea what this is or how to resolve it?
I believe it has something to do with a new standard for disabling auto events. There is a similar question about Embedding iframes where they are having an issue with auto-playing videos.
I have had the same issue with a jquerymobile cordova app. My index page is a splash page and when cordova has successfully loaded it navigates to my main application page. I was using jQuery.mobile.navigate(myPage);. This gave me about 20 :0: GetPTLAFormat: invalid format errors. I tried jQuery.mobile.changePage instead and got only 3 errors.
As the page transition happens without any input from the user I tried giving my splash screen image an onclick even to transition instead. Not very practical for the final application, but just as a test. I still get the errors with navigate, however with an onclick and changePage I do not get any errors.
My conclusion is that the new standard doesn't allow automatic playing and transitioning etc. I still haven't figured out a way to get around this but the solution seems to be to have a user trigger the event and it solves the problem.
To hide it from Eclipse logcat, enter the following as a filter/search term in logcat:
^(?!.*(GetPTLAFormat)).*$