android-windowmanager Questions

2

I'm using the following flags in onAttachedToWindow() to show my Activity above the keyguard: FLAG_DISMISS_KEYGUARD | FLAG_SHOW_WHEN_LOCKED | FLAG_TURN_SCREEN_ON This works fine, however, when ...
Lulululuabourg asked 2/10, 2013 at 15:37

1

Solved

I uploaded an Android Application to the market, and, for some reason a user is getting this error. java.lang.IllegalArgumentException: Window type can not be changed after the window is added. at...
Overwork asked 11/6, 2013 at 14:42

1

I'm trying to remove a layer added to WindowManager. But nothing happens when I call removeView(). Does anybody know how to remove it? My code looks like this. public class MainActivity extends Ac...

2

Solved

Update I was able to fix this, The problem was dialogs and related could be initiated from broadcast receiver but not recommended, as the activity running ends before the view. Trying to implemen...

1

I am trying to login into the app but after the login is success and it is about to go to next screen, it restarts. Following is the exception that I guess would have caused this, as there is no ot...
Tallboy asked 15/11, 2012 at 10:57

2

Solved

So yesterday i was programming and suddenly i came across the setTitle method in the WindowManager.LayoutParams class, why would this class like this have a setTitle method? Where is is used for? T...
Fronia asked 17/3, 2013 at 17:21

1

Solved

I am trying to write an app that draws a custom mouse pointer. I currently have a service that creates a class that extends ViewGroup and uses the WindowManager system service to display it as a TY...
Acicular asked 11/1, 2013 at 17:34

2

Solved

In Honeycomb I was able to create a system overlay with TYPE_SYSTEM_OVERLAY and receive touches with FLAG_WATCH_OUTSIDE_TOUCH. Now ICS has changed something. I can still create the system overlay,...

0

I use the code below to turn the screen on and off. Both pieces of code work on most devices (tested on Galaxy Note, Galaxy S2, etc. etc.) but don't work on a few (mostly tablets but some phones as...
Polymorphism asked 16/11, 2012 at 12:27

3

Solved

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().addF...
Dysentery asked 5/8, 2012 at 16:20

2

I am running my Unit tests on various android devices using Instrumentation . Testcases works fine on emulator & all devices except Samsung Galaxy S. On Samsung Galaxy S it displays a Window M...

© 2022 - 2024 — McMap. All rights reserved.