How to disable the Recent Tasks/Apps button

后端 未结 5 777
忘掉有多难
忘掉有多难 2020-11-30 02:48

I\'m building a child play application for Android. I need to disable all keys when it is in use. I have set the Application as the Home App and disabled the back key (that

5条回答
  •  旧时难觅i
    2020-11-30 03:17

    Actually, you cannot disable task button. When you press it, your activity calls onPause() method and you can move your task to the front in this method. See my answer for related question.

提交回复
热议问题