Hi

Android can support Mouse right click directly from ICS and above by 
MotionEvent class.

MotionEvent mappedEvent = mapTouchEvent(e);
if( mappedEvent.getButtonState() == MotionEvent.BUTTON_SECONDARY){

//Do something for right click [image: :)]
}

in my hardware (Minix NEO5) android detect rightclick and translate it to 
backbutton but i do not know where and how
i need to capture mouse right click in view class, how to tell android to 
send it in right way?

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to