The reason they don't work on the Android browser (or webkit for that
matter) is that they are using mouse events. If you want to use that
code on the Android you have to use touch events instead. Try reading
up on the following:

touchstart - finger touches the screen
touchmove - finger is moving
touchend - finger leaves the screen

It looks to me like the first example you listed should be fairly easy
to update to touch.

If you use these events, you should get better results. There's some
good documentation for this in the iPhone docs. You'll have to search
for it, but they have code examples as well.

-John Coryat

"What Zip Code?"

"Radar Now!"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to