I’m running a PhoneGap app with jQuery Mobile. I placed the html files inside www folder and its working just fine.
But the problem is that, when I’m trying to navigate pages. I’m getting following error in the bottom. Everything works just fine. I wanna know how to disable this annoying message.
Related
I'm working on an ionic app. it does work correctly on browser but when I try to run it on android device , I have access only to the first page ( because I have added it to routes in app-routing file with redirection ) but when I click on a button that supposed to navigate to another page it doesn't work and show me page not found [http://localhost/page/pagename] , it's the same problem for all pages. But as I said it works fine on browser.
I'm using this.router.navigate
Thank you
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 have a working app built in jQuery Mobile and Phonegap (using Eclipse on Mac OSX)
Everything is working OK, except when the Ajax loading message pops up, the animated gif does not animate, it simply stick on the first frame.
Viewing the app in a web browser (as it is basically a mobile site) the gif animates no problem.
I have read that showing animated gifs on Android is tricky without using the web browser. Is there a way to get it to work? Maybe replace it with something in CSS3?
Although the comments explain why it doesn't work, this might get you started on finding a workable replacement: https://stackoverflow.com/a/2767556/878602
I have developed a Phonegap application, and am now trying to run it in the android emulator. My problem is that the application doesn't scroll in the emulator or device, but it works well in a normal browser like mozilla or chrome. Butwhen I test in the emulator or device then it doesn't scroll.
Here is my html file http://pastie.org/3981916
And here is my css file http://pastie.org/3981918
I am not able to find a solution to this problem, can any one help me out please?
well you cant get the normal html scroll behavior when trying to create a app using phonegap on android.
you cant get the overflow:scroll effect for any of the html elements.
you'll need to make use of third party libraries such as jquerymobile, iscroll4, etcfor getting the native look and feel.
or also you can construct your own logic