Can I make an app that locks other apps?

Hi. I want to make an app that locks other apps until an arduino send data via Bluetooth to unlock the apps. Can I make it with appinventor? If yes, can somebody tell me how?

Thanks a lot in advance!!!

Welcome Nagy.

Not sure exactly what you expect to do.

  • You want to make an app that disables functions of an app you made with App Inventor until after it receives a Bluetooth script? If that is what you want to do, then yes, you can make it. Place code to receive and connect to Bluetooth in your Screen1.Initialize event handler. If your app receives an unlock code, it will enable the other parts of the app to execute; if a code is not received, you could disable the app, provide a message etc.

  • You want to make any app on your device unusable until it receives code from Bluetooth? This is probably not possible. Google security will not allow an app to disable apps.

Thanks for the answer.
I meant the second option you wrote. There are many app locker apps on google play. Are you sure that i cannot lock them with a diy app?

  1. ability to lock apps only available in Android 7+
  2. ability to lock apps depends on functions that cannot be controlled with App Inventor basic Blocks.
    How you do it with Android Studio depends on creating a Service app. Without an extension, that is not presently possible with AI2. Also

Use Android Studio or another professional compiler and you probably can lock them with a diy app. With App Inventor, probably not for lots of reasons. Do some research. See Taifun's comments

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here and the aia files for the projects in the book are here:

How to do a lot of basic things with App Inventor are described here: .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

You might find Taifun's example useful for AI2 built apps App Inventor Tutorials and Examples: Pattern Lock | Pura Vida Apps

Probably locking apps is not possible in ai2.
However, you/someone can make an extension which removes launcher icons of apps.It is possible.

Thank you for the answers! They are really helpful.