OK, I've done a more thorough test and found some really interesting
results. I have posted the full monty on StackOverflow along with code
you can use to reproduce what I found: http://stackoverflow.com/questions/475674

(This is all from testing on the emulator, I don't have an actual
phone to test on.)

First time selecting an item using the "down" button (events listed in
order):

mouseover
mouseenter
mousemove
DOMFocusIn

Moving from one selected item to another using the "up" or "down"
buttons (events listed in order):

mouseout
mouseover
mousemove
DOMFocusOut
DOMFocusIn

Clicking the "enter" button with an item selected (events listed in
order):

mousemove
mousedown
DOMFocusOut
mouseup
click
DOMActivate

Fascinating, to say the least! Let me know if you come up with
different results.

-Andrew

On Jan 25, 7:36 am, "Fred Grott(shareme)" <[email protected]>
wrote:
> I think that you did not get mouseover, mouseout to work
>
> Android does not have a TouchEvents DOM APi on top of webkit like
> iPhone does so events are limited..
>
> There is not a list yet..if you want can you start a Google Knol
> article that every developer can edit and thus then some of us with
> testing already started can add information to that list??
>
> I know mouseover and mouseout do not work and mouse up and down do
> work
>
> Also read the webkit packages for the even methods/classes in docs
>
> On Jan 24, 1:36 am, Andrew Hedges <[email protected]> wrote:
>
> > I'm building (for lack of a better description) a mobile web app
> > targeting Android users. I need to know what JavaScript events are
> > available to me. I have been able to make the following work, but not
> > terribly reliably:
>
> > * click
> > * mouseover
> > * mousedown
> > * mouseup
> > * change
>
> > I have not been able to get the following to work:
>
> > * keypress
> > * keydown
> > * keyup
>
> > Does anyone know the full list of what is supported and in what
> > contexts (e.g., is onchange only available to form inputs?)? I can't
> > find a reference for this on The Googles.
>
> > Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to