i am developing an android phonegap app using phonegap 1.3 and jquery mobile 1.0 My app works perfectly fine in all android versions before 4.0.0
But in 4.0.0 and above im facing an issue. I have an anchor which when users click, takes the to another ‘page’.
<div class="ui-input-share ui-btn-corner-all ui-body-c" id="mk_home">
<a href="javascript:void(0);" class="ui-input-text" data-role="none" >Whats up?</a>
</div>
In the emulator having android 4.0.3, when i click on this i get an error saying “Error loading page” When i check the logs in logcat, i see an error saying
Unknown chromium error: -6
any idea as to what can i do to get it working?
This error was coming because webkit in ics is broken in handling
with urls. So if u have a url like
which u hit, then you would get such an error. The best fix for now would be to test your webapp in browser and see when and where you add params to the url and remove those.
You can in place save those params in localstorage and retrieve when needed.