Hard press on word in android device

scenario is i want to select a word(hard press on phone) to get “ADD Note” option, Can this be achieved using Appium Java??
I use javascript code which highlights the word when i perform doubleclick option. but i need to hard press to get that add note option. Kindly let me know if anyone has come across. TIA.

Do you mean a long press or a context click, where the user presses their finger down on a particular element and holds their finger there until a menu appears?

Appium should support that natively in its drivers, but if that doesn’t work, you can always instead do a “swipe”, but the start and end points of the swipe are the same point. The device will interpret that action as a “long click”/“long press”/“context click”/“hard press” (I wish there was a document where all this terminology is documented).