1. Download our Official Android App: Forums for Android!

mouse context

Discussion in 'Android Help' started by Android Question, Jan 29, 2014.

  1. Android Question

    Thread Starter
    Rank:
    None
    Posts:
    0
    Joined:

    How do I simulate mouse right click?
     

    Advertisement

  2. Rukbat

    Rukbat Android Expert
    Rank:
    None
    Points:
    843
    Posts:
    10,392
    Joined:
    Jan 16, 2012

    Jan 16, 2012
    10,392
    2,894
    843
    Male
    Being retired and writing Tasker tasks.
    Fayetteville, NC, USA
    On an Android? The equivalent is a long-press.

    (You don't simulate hardware events in programming, you just run the code that the hardware event would run. So if you want the program to act as if someone long-pressed something, you call the function that would be called if they did long-press it.)
     

Share This Page

Loading...