4

I know that we can catch Hovering event in Android. So, I added a Button in my layout files.

What does Hovering mean in Android ?

  • Press button and lifting finder from it?
  • Put your finger on button (Impossible in Android). We can do it by connecting mouse through OTP cable. But why would a developer implement it?
ChiefTwoPencils
  • 13,548
  • 8
  • 49
  • 75

3 Answers3

2

Also, on Android TV, it makes a lot of sense to Hover over an element, especially if it is supporting mouse pointer movement using TV remote

Ankur Aggarwal
  • 2,210
  • 2
  • 34
  • 39
1

There are devices which supports 'Air Gesture' and hovering can be used for that. Check this:

https://play.google.com/store/apps/details?id=com.golgorz.hoveringcontrols&hl=en

Juned Ahsan
  • 67,789
  • 12
  • 98
  • 136
  • Thanks for answering but i implemented the hovering in the same way as the question does (on Button). I wan not able to test it. How can I do that? Also if you look the answer of `Gabe` (last answer) what does it mean? I do have a nexus 5. I am little bit confused about the implementation –  Oct 23 '15 at 04:57
0

IN some of the popular smart phone there is a way to dismiss call by just hovering the hand over the screen.
We can do it by connecting mouse through OTP cable. But why would a developer implement it?
The popularity of android id not limited to mobile devices alone there is TV,auto, variables etc. so with most of the tv you have universal remote which come with trackball also this is also used there .

Aniruddha K.M
  • 7,361
  • 3
  • 43
  • 52