Wake up a locked phone (fake call app)

Hi

I've a new project but it's quite complex and I'm not even sure appinventor is able to perform this kind of operations.

I'm designing a prop for an escape room and the main idea is to develop a fake WhatsApp/phone call.
In order to do so I will provide a cellphone to my players. The phone will be PIN locked so they can't do anything with the phone during the game. When I decide it, I want to "wake up" an appinventor app ; When I say wake up I mean it reactivates the screen like it happens when you receive a real phone call or a whatsapp call. You know, when you receive a phone call or a WhatsApp call, even if your phone is locked, the PIN code is not required, it simply asks if you want to pick up the call. It needs to be the same there with my app.
Then, the players accept the fake call by clicking on the "answer" button and it runs a video. This last part is quite easy, even if I never deal with videos on appinventor I'm quite confident.

So as you can see, this project has some tricky things:

  1. been able to wake up a phone and bypass the PIN code process. I'm not sure appinventor can do this.
  2. The trigger that wakes up the phone could be a file check on a local FTP server. App checks every 10 seconds if a specific file exists, if yes, then it wakes up the phone. I'm quite sure appinventor can read FTP server, no? But I'm not sure it can read the FTP server while the phone is locked. By the way if you have a better idea that could trigger the wake up procedure, do not hesitate. But I guess the file check is a good option regarding the next point :slightly_smiling_face:
  3. I want the app to run 2 different videos depending if the mission is a success or a failure. The file name that triggers the wake up could help to run the correct video. All I have to do is to create the correct file name on the FTP server (if success.txt exists then video==success)

I hope you will understand my project. Please let me know if it's possible or not with this wonderful app :slightly_smiling_face:

Thank you

this is called Full Screen Intent and after a lot of trial and error I was able to create an extension which is able to do it, which is currently in beta test...

full screen intents have been misused in the past by some developers to display full screen ads, therefore starting from Android 14 there are some restrictions if you want to publish your app in Google Play...

apps that are allowed to use this permission are limited to those that provide calling and alarms only.

in the extension the trigger to acrtivate the full screen intent is a received sms...
let me know, if a sms as trigger would be suitable for your purposes and if you like to participate in the beta test... later I will add this feature also in my alarmmanager extension

Taifun

2 Likes

I tested it on Android 14 (Pixel 7 Pro) and it works.
The device is woken up from idle mode (lock screen), the SMS is displayed and the text of the SMS including the sender number is read out (at least in my test, in which I had turned off "Do not disturb").

Hi and thank your for your replies.

I would like to test it eventually.
No problem for me regardless the play store since it won't be published :slightly_smiling_face:
SMS notification is fine but this means I need to have a SIM card and pay for monthly fees.

Thank you it is really appreciate :slightly_smiling_face: