A
Yeah, you're right, I thought only about turning the screen on and off.The only way other than having the switch replaced is to solder wires to the switch contacts and short them to activate the switch's function (long short for menu, short short for screen on-off).
Putting the phone to sleep isn't turning it off. And you can't install the app unless you can turn the phone on.