<Select> Not Working in Phonegap App on Android 2.3.3

PhoneGap Select Boxes on Android Misbehaving

I resolved using similar code:

var allSelectElements = document.getElementsByTagName('select');
for (var i=0; i < allSelectElements.length; i++) {
allSelectElements[i].addEventListener('touchstart', function(e){
//This is the important line
e.stopPropagation();
}, false);
}

Phonegap + Jquery mobile app not working on android device

I think you may forgot to allow access to your server,
you may use <access origin="*" /> to your config.xml file to allow access to all urls just for testing.

Multiple Select Widgets in Jquery mobile is not working in Android 2.3

You need to add a data-native-menu="false" to your <select> to make it popout.

Demo : http://jsfiddle.net/hungerpain/yKEz4/

why phonegap not showing images on android ICS (4.0.2)?

I have also had a lot of issue with phonegap and ICS. The reason for this is due to the fact that their are a lot of Web View Bugs within the ICS firmware.

This is mainly due to the fact that Google want more native apps and therefore have not bothered properly supporting web view apps, such as phonegap.

They are slowly working through the more major issues. How are you currently displaying the images, like below?

<img src="test.png" />

PhoneGap Android + jQuery mobile app does not scroll down

Older android phones and older IOS does not support scrolling in divs: Use this function to scroll the element that you want to scroll:

function TouchScroll(elem){

// alert("listening");

var scrollStartPos=0;

elem.addEventListener("touchstart", function(event) {

scrollStartPos=this.scrollTop+event.touches[0].pageY;

// event.preventDefault();

},false);

elem.addEventListener("touchmove", function(event) {

this.scrollTop=scrollStartPos-event.touches[0].pageY;

event.preventDefault();

},false);

}



Related Topics



Leave a reply



Submit