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

Apps Getting touch event in any view

Discussion in 'Android Development' started by diegofurts, Oct 19, 2010.

  1. diegofurts

    diegofurts Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Oct 18, 2010

    Oct 18, 2010
    2
    0
    5
    Hi,
    I need to make a service that capture all touch events, not in a specific view or when an specific activity is open. This service is started when the boot is completed (and I have an app to stop/play this service when I want it). So it write something (in a Toast) when the user touch any place in the screen.


    Can I do this? Or only in specifics things (with OnTouchListener and adding specifics views, for example)?


    Sorry for my bad english.

    thanks
     

    Advertisement

Share This Page

Loading...