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?
Related
I recently started to learn to develop apps for android, but I'm stuck for quite a while on 1 problem:
I want to log from my app to a website (http://student.tu-sofia.bg/) and download some data from it, so I can use it later in my app. I have red different articles and tried different things but in the end nothing worked. The closest thing that I got as a result was receiving the source code of the login page( tried this Android: How to programatically login to website and retrieve data from it?)
Can someone tell my what I am doing wrong or give an advice how I should approach this ?
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);
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)).*$
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.
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