B4A Library Library onHover

[Library] onHover

Library to provide onGenericMotionEventListener for API 12&13 and onHover Listener for Api 14+.

The onGenericMotionEventListener (API 12&13) returns one Action:
(7) ACTION_HOVER_MOVE.

The onHover (API14+) Listener returns three Actions:

(7) ACTION_HOVER_MOVE.
(9) ACTION_HOVER_ENTER.
(10) ACTION_HOVER_EXIT.

Both can be added to either the activity or a view.

Download and Unzip the onHoverLib file, copy the Jar and Xml files to your addl libs folder, refresh the libs tab (right click) and select onHover.
 

Attachments

  • OnHoverLib.zip
    4.1 KB · Views: 425
  • onHover.zip
    5.9 KB · Views: 407
Last edited:

barx

Well-Known Member
Licensed User
Longtime User
Is this basically same as my air view lib?
 

barx

Well-Known Member
Licensed User
Longtime User
I don't know, what does your air view lib do?

Basically what Air View on new Samsung devices does. Implements the onHover Listener,

Source code available here
 

stevel05

Expert
Licensed User
Longtime User
Basically what Air View on new Samsung devices does. Implements the onHover Listener,

Source code available here

Then it sounds like it is similar, except that this one implements the onGenericMotionEventListener for API 12&13 if needed.
 

almontgreen

Active Member
Licensed User
Longtime User
Note that I posted on the Jobs forum that I'm happy to donate $50 to anyone that creates a mouse library with scroll wheel support (and a few other features if possible, like hide the cursor, right button, scroll wheel button and the features that exist in the onHover and Air View libs. This would be great for use with the MiniPC's which some of us are writing apps for now... Thanks!
 
Top