Reputation: 3988
i want to deactivate the touch screen of my android device for some application. Anyone plz help me.......
Thanx in adv
Upvotes: 2
Views: 4846
Reputation: 126455
put a transparent Layout and override the OnTouch Events!
@Override
OnTouch():
OnTouch(){
return false;
}
Update:: How to avoid Touch Event
Upvotes: 2
Reputation: 1006724
You cannot "deactivate the touch screen". You are welcome to design your own UI that does not respond to touch input.
Upvotes: 3