The simple ways:
A Stay Awake routine can also prevent the screen from closing.
Either
use a Stay Awake block routine using a Notifier
-How to keep the screen on
or you use Taifun’s Tools Extension: App Inventor Extensions: Tools | Pura Vida Apps
[image]
Be aware using either an extension or a block routine drains your device battery rapidly . These work around methods are not running the app in the Background, they force the app screen to stay open.
or use a Foreground or Background extension
The UrsAI2KeepAlive zip archive Ullis Roboter Seite/AI2 Keep Alive The archive contains the source code, the compiled binary for uploading to the App Inventor and a discussion of how Ullis' Foreground extensions work.
Itoo 4.4.2 Sky
:octopus: Github Donate
[BuildWithLove] [forthebadge]
An efficiently designed virtual background execution environment for App Inventor.
Powered by the ItooX framework .
It allows you to run blocks in background the same way you do normally when the app is active.
:star2: Please go through all the details and documentation listed below before you try to use the extension or seek help from others. Efforts have been made to be precise and simple at t…
1 Like