On Mon, Jan 30, 2012 at 6:36 AM, John <[email protected]> wrote: > Greg, > > A couple of things: > > a.) What versions are you seeing this in? Emulator only?
I'm developing mostly on a Samsung Galaxy S II. I can only imagine how slow the emulator will be. > b.) jQuery (in general) is pretty slow on mobile devices. jQuery > Mobile has come a long way (in the almost 3 years since the project > started): http://jquerymobile.com/ Yeah, jQuery Mobile seems the way to go. I'm using vmousedown and vmouseup now and my css changes work great. $.each($('tr[class=click]'), function(i, obj) { $(obj).click(function() { Android.clickContact($(obj).attr('id')); $(obj).bind('vmousedown', function() { $(obj).css("background-color", '#f00'); }); $(obj).bind('vmouseup', function() { $(obj).css("background-color", 'transparent'); }); }); }); I wish the Javascript binding was faster, but at least now I get some tap feedback. > d.) Binding mouseup/down might be problematic with jQuery (due to > multitouch, trackball, etc). On this particular project it's outside the market, and fortunately I have the 5 phones we're targeting.. no trackballs :) Thanks for the jQuery Mobile suggestion, works great. -- Greg Donald -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

