Why does not the overlay work on android 8? API 26
Last edited:
I don't see where you ask permission.
Take a look https://www.b4x.com/android/forum/threads/draw-on-top-of-other-apps-permission.90513/#content
Note: If the app targets API level 23 or higher, the app user must explicitly grant this permission to the app through a permission management screen. The app requests the user's approval by sending an intent with action Settings.ACTION_MANAGE_OVERLAY_PERMISSION. The app can check whether it has this authorization by calling Settings.canDrawOverlays().
Very few apps should use this permission; these windows are intended for system-level interaction with the user.