Questions tagged [system-alert-window]

Allows an app to create windows using the type TYPE_SYSTEM_ALERT, shown on top of all other apps. Very few apps should use this permission; these windows are intended for system-level interaction with the user.

Allows an app to create windows using the type TYPE_SYSTEM_ALERT, shown on top of all other apps. Very few apps should use this permission; these windows are intended for system-level interaction with the user. https://developer.android.com/reference/android/Manifest.permission.html#SYSTEM_ALERT_WINDOW

61 questions
2
votes
0 answers

Alternative for SYSTEM_ALERT_WINDOW to display an overlay across app activities

Requirement is to add a chat feature in the app, that would be available across all activities in minimized view once initiated - you can start a chat within one activity and keep it live when changing activities. Solution -> Use this permission,…
Ritt
  • 3,181
  • 3
  • 22
  • 51
2
votes
1 answer

How to create a background floating widget ? - Flutter / Dart

Is it possible to create a widget that floats in the background ( i.e have a floating app when the user presses the home button)? I tried using the system_alert_window ( https://pub.dev/packages/system_alert_window), however, it only allows text and…
Jiwa Chhetri
  • 107
  • 7
2
votes
1 answer

android 4.1 - 4.4 system_alert_window permission

Although my practice is google play, I can get System_alert_windows permission on Android 5+ OS But system_alert_window is not allowed between 4.1 and 5.0.
2
votes
2 answers

Requesting permissions on Android wear

I have written an application that takes advantage of system_alert_window on android wear. Since marshmallow this permission is revoked by default. I have enabled this permission on the phone side app from the phone settings. But the permission is…
user2498079
  • 2,872
  • 8
  • 32
  • 60
2
votes
1 answer

TYPE_SYSTEM_ALERT in Full screen [Without status & navigation bars]

I am using an activity in my app as TYPE_SYSTEM_ALERT (which uses SYSTEM_ALERT_WINDOW as permission). My code snippet for WindowManager is final WindowManager.LayoutParams params = new WindowManager.LayoutParams( …
Vishal Afre
  • 1,013
  • 3
  • 12
  • 39
2
votes
2 answers

How to detect when Facebook messenger is bubble is opend?

Facebook uses a service to push the messenger bubble on android - something like the follows: http://www.piwai.info/chatheads-basics/ I want to detect when the bubble is opened / closed I've started investigating the following options - Listen (By…
Gal Bracha
  • 19,004
  • 11
  • 72
  • 86
1
vote
0 answers

How to pass data from SystemAlertDialog into StatefulWidget Class in Flutter?

In this class I created a System alert dialog using the system_alert_window: ^1.2.1 library. It's working fine, the thing is after showing the dialog I want to get return response from the system alert dialog. Any help will be highly assist me as…
Anand
  • 4,355
  • 2
  • 35
  • 45
1
vote
0 answers

how to show a popup alert window in background in flutter

here I'm developing a chat application using AWS and flutter, i want to show a popup alert like a true Caller, I did it using a #system_alert_window it works perfectly when app is opened and AWS connect connected. but i also want it to show When the…
1
vote
0 answers

Put flutter app in kiosk mode while on another app

I want to make a screen lock application with flutter. How can I put it in kiosk mode when I'm on top of other applications? thanks I tried showing an overlay with the system_alert_window package and running it there, but it didn't work.
1
vote
0 answers

Module to draw over other apps in flutter?

I am trying to make a alarm app where I want to display a popup and play a sound so that the user gets alarmed. I first found the System_Alert_Window module, but it looks like it lacks a bit of styling property. I can set the background color of…
TheFishTheySay
  • 190
  • 2
  • 17
1
vote
0 answers

Show dialog over another app without SYSTEM_ALERT_WINDOW permission

Right now, I'm using the following permission to show a dialog over another app : Dialog : dialogBuilder = new AlertDialog.Builder(activity); LayoutInflater inflater2 =…
1
vote
0 answers

Flutter Alert window static callback button (System Alert window like plugin)

I am Trying to pass a function to a static callback, i have added the code below. I am using a plugin like system alert window that is the call back, it has a tag with is pass to button. the same as system Alert window, to draw over other app, the…
Chris Benson
  • 29
  • 1
  • 3
1
vote
0 answers

Different android devices showing error on trying to show floating widget

I'm trying to show a floating widget but I was getting this error message when I run the app on two Xiaomi redmi devices CreateServiceData{token=android.os.BinderProxy@23c3153 className=com.xyz.x.FloatingViewService packageName=com.xyz.com…
1
vote
1 answer

Clipboard returns null when I click on the button located in the top view activity and when MainActivity is not active

Clipboard data returns null when MainActivity is not active in top view activity when I click the button in Android java I read this restriction about android10 and higher, but my activity is not a background service. I need to get clipboard data…
Azat
  • 21
  • 3
1
vote
1 answer

How can i add image in system_alert_window flutter

I am using system_alert_window flutter package and want to add user image in body but not able to achieve this. please help.