Skip to main content
6 votes
4 answers
2k views

I want to be able to start an Activity that is not part of my app while the device is password locked. How could I do this, if it's even possible? Note: I am well aware of putting getWindow()....
0 votes
0 answers
77 views

I am trying to create a system overlay using WindowManager. This overlay contains a ComposeView which, in turn, hosts a Composable that animates its height. My WindowManager.LayoutParams for the view'...
0 votes
0 answers
64 views

I wanted to observe window inset for navigation bar and ime. used below snippet. in android API 30, listener is triggered when keyboard is opened or closed. the same code not working in API level 29. ...
0 votes
0 answers
315 views

I know react-native can be used with fragment manager as in https://reactnative.dev/docs/integration-with-android-fragment How do I use the component in window manager though? Actually my main aim is ...
0 votes
0 answers
77 views

I'm trying to detect if another app (like a Messenger chat head or similar overlay) is currently floating above my app on Android 11 or higher. I’ve tried the following approaches, but none reliably ...
0 votes
0 answers
58 views

When I turn on the Accessibility Service, what I expected is the method “SVR.onAccessibilityConnected” would immediately invoke and then the app would play music loudly and show a window cover the ...
3 votes
2 answers
2k views

I've seen a couple of apps that are able to add overlay views from an accessibility service that are visible when the Settings app is on the foreground on also on the lock screen (!!). I have ...
0 votes
1 answer
193 views

When long-pressing an Entry on Android, the copy/paste context menu should appear by default. It works when the Entry is placed directly on the page. However, if the Entry is added to the window on a ...
7 votes
2 answers
2k views

I have an floating view like Facebook chat buble, but unlike it, my overlay has a EditText and need to be focusable. Here is my floating view code //Inflate the floating view layout we ...
20 votes
4 answers
26k views

I can see that when I use the same flag as shown on the API-demos for blurring the background, I get a warning that it's deprecated: "The field WindowManager.LayoutParams.FLAG_BLUR_BEHIND is ...
1 vote
5 answers
5k views

I am trying to create a Dialog Box from an Non activity Class. This is my Code public static void ShowDialogBox(final Context con, final Listener list) { AlertDialog.Builder dlgAlert = new ...
-1 votes
2 answers
884 views

in my flutter app, i run it without any problem, but when building APK i get the following problem FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':...
25 votes
8 answers
25k views

How can I slide in the keyboard? I tried: val keyboardController: SoftwareKeyboardController? = LocalSoftwareKeyboardController.current keyboardController?.show() But it does not work. What am I ...
0 votes
0 answers
25 views

I want to create a dialog that contains a layout inside. This layout should be scrollable up and down. When the dialog is scrolled up to only show a drag handle, I want the dialog to pass all click ...
0 votes
3 answers
4k views

I'm trying to find some answer to my question in the site but I don't found anything, and I'm not sure if is possible remove or hide the overlay with windowManager when press back or home button. ...

15 30 50 per page
1
2 3 4 5
38