views:

30

answers:

0

Hi.

My live wallpaper is responding to touch events through the onTouchEvent() method, which works fine. The problem is: the home app also appears to be receiving these touch events, so if I swipe left in my wallpaper, the home screen also slides left.

It'd be nice if it were possible for my wallpaper to selectively consume these events, but seeing as the wallpaper onTouchEvent() has no return type, it's looking impossible.

Is there a way to achieve this?