i want to deactivate the touch screen of my android device for some application. Anyone plz help me开发者_JAVA百科.......
Thanx in adv
You cannot "deactivate the touch screen". You are welcome to design your own UI that does not respond to touch input.
put a transparent Layout and override the OnTouch Events!
@Override
OnTouch():
OnTouch(){
return false;
}
Update:: How to avoid Touch Event
精彩评论