Samsung hovering API with finger
I've tried out the method described on the link recommended by Nifhel. The only thing you have to do is adding a new intent filter for your Activity in the manifest, no need to override "dispatchGenericMotionEvent":
<intent-filter>
<action android:name="com.sec.android.airview.HOVER" />
</intent-filter>
After that you have to add an onHoverListener to you View and it will work fine. For example in my ListAdapter:
convertView.setOnHoverListener(new OnHoverListener() {
@Override
public boolean onHover(View v, MotionEvent event) {
Log.d("ListAdapter", "Hover: " + item);
return false;
}
});