How to setup Mouse Right click action in my app

How to set when user right click using mouse open context menu on my app. On Samsung Devices Mouse Right Click Going Back Please Help to fix it

usually an Android device does not have a mouseā€¦ therefore there are also no mouse events available

Long Click ?