Android Question How in panel_touch event recognizing a stylus?

Toni

Member
Licensed User
Longtime User
B4A/B4X how could I recognize a stylus in a panel_touch event to exclude palms and fingertips?
 

teddybear

Well-Known Member
Licensed User
You can't recognize a stylus in b4a's panel_touch.
You need to use javaobject to create an OnTouchListener event and bind it to the panel .
And then get the getToolType to recognize it by MotionEvent
 
Upvote 0
Top