First little background why i need to write this app. My phone got wet and unfortunately screen doesn't work now (I can't see anything and I can't press anything). Phone has airplane mode turn on so my photos cannot synchronize. I cannot connect with USB cable because it is in "Only recharge state". USB debugging is turn off so I cannot connect with adb to turn off airplane mode. But there is a little light in a tunnel. There is WIFI working. I hear a sound when it connects to my network so I know it's working. My idea is to write a simple app that will turn off airplane mode. I'll install it from PC using Play Store but I need a way to turn it on. I think it can be done by registering this app as a listener to some system call. Can Play Store register app as a listener without a need to run this app?
Do you think that's all possible? Maybe someone has other idea?
Thanks!