开发者

How to deactivate the touchscreen of android device?

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜