android: standby button, the touch locks and the phone remains active

371 Views Asked by At

I would like to make an application when it is activated by pressing the standby button, the touch locks and the phone remains active . Which method should I use to do this and to take control of the standby button?

1

There are 1 best solutions below

2
On

Which method should I use to do this and to take control of the standby button?

Fortunately, this is not supported by Android, for obvious security reasons. Apps could use this to prevent people from turning off their phones, for example.