android-windowmanager Questions

3

I am developing an alarm application. From the main activity i set the alarm using broadcast. Then in onReceive in broadcast receiver i call activity that is enabling user to shut down or snooze th...
Minetta asked 1/4, 2012 at 17:23

2

Solved

Im trying to overlay a TextView on top of the LockScreen (Similar to how Android Overlays the time). Note: I dont want to by-pass the lockscreen, but just draw on top of it (without interfering ...
Holbrooke asked 10/2, 2016 at 22:33

4

How can I display an Activity or Dialog to be visible over the lock screen? I have already tried displaying my lock activity when screen turns on by setting various window type in Activity.onCreat...

3

Solved

How does Facebook create the Chat Heads on Android? What is the API to create the floating views on top of all other views?
Randle asked 12/4, 2013 at 16:3

1

The reference documentation for Android Window and related pages (e.g., WindowManager.LayoutParams and Window.Callback) refers to "Panels" in a number of places. For example, the Window.Callback pa...
Hebetude asked 25/11, 2015 at 19:46

3

Solved

I am building a security app and I need to know if the user is giving incorrect password . Suppose user phone is locked by pattern lock system , and unfortunately user has forgotten the pattern pas...

4

Solved

How to avoid black screen in android while my app is loading ? I have removed all things from onCreate to AsyncTask but still I have black screen at the beginning. My default ( first ) activity is ...
Illuminati asked 11/1, 2012 at 10:15

5

I have a service which displays a floating view on the window manager (using WINDOW_TYPE_ALERT permission). I'm able to display it and perform actions. But, I have two specific questions: Regard...
Lowestoft asked 8/8, 2013 at 10:51

1

I have to show a floating button that will be added in WindowManager so it remain on the top of all Activities. (I have done this part using https://github.com/marshallino16/FloatingView) When tha...

2

Solved

Can I create an UI or a widget in Android that will sit on top of all applications? There are applications that have widgets like this. One example has a camera icon on top of all the applications ...
Knipe asked 16/7, 2012 at 5:3

3

Solved

I am implementing a photo viewer which allow user to view photos in full-screen mode from a thumbnail. My current approach is adding inflated view to WindowManager. In the inflated view, there is a...

2

Solved

I'm having the following issue - I'm having a view that I'm putting inside the WindowManager and I would like it to come in translate animation from out of the screen and toward the middle of the s...
Socialite asked 27/6, 2014 at 17:52

3

Solved

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 dep...
Echinoderm asked 29/4, 2012 at 13:15

4

Solved

Here's the relevant code: WindowManager.LayoutParams windowParams = getWindow().getAttributes(); windowParams.flags |= LayoutParams.FLAG_KEEP_SCREEN_ON; windowParams.screenBrightness = 0.0f; g...
Malynda asked 8/6, 2013 at 4:19

1

public class MainActivity extends Activity { private static String State = "STOP"; final String address = "http://XXXX.co.uk:9994"; private ImageView Player; private ProgressDialog progress; ...
Mors asked 28/6, 2014 at 13:41

3

Solved

I want to build a dialog which is visible on the lockscreen and can receive touch events. I built a window with WindowManager but only the TYPE_SYSTEM_OVERLAY Flag is shown over the lockscreen in G...
Margueritamarguerite asked 23/6, 2013 at 13:1

4

Solved

Ordinarily, exiting my application by calling: android.os.Process.killProcess(android.os.Process.myPid()); performs well without incident. But every once in a while, the application will restar...

2

Solved

I am trying to display a window from service but don't getting it how to do this Here is my code-- In onStart method of Service LayoutInflater inflater = (LayoutInflater) getSystemService(LAYO...

0

I want to overlay a transparent view on the entire screen including the bottom most Navigation Bar in Android 4.4. I am able to do so in Android 4.3 by defining the window Manager LayoutParams as...

1

For my application I have to draw a bitmap on top of the Navigation bar on the bottom of the android screen. I am curious to know if the WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY can be used t...
Linolinocut asked 27/1, 2014 at 13:36

0

With WindowManager.addView and WindowManager.LayoutParams, a view can be added to the screen with TYPE_SYSTEM_OVERLAY, which will then be drawn on top of all other applications. This can be used fo...

1

Solved

I'm trying to create an app like the Halo Notification on Paranoid Android. So far, so good. However, when my "halo" is on the screen I can move it around just fine and most of the touch events do...
Afroasian asked 7/12, 2013 at 4:53

3

Solved

I am working in Android. I need to show my activity in Full screen mode, and i did this using following code. getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.Layout...
Changchangaris asked 13/3, 2012 at 13:1

3

Solved

In my java application i have this code @Override public void onAttachedToWindow() { this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); super.onAttachedToWindow(); } ...
Hobbs asked 24/9, 2012 at 6:54

2

I am following this tutorial to implement facebook like chat head. When I start the service from an activity it just work fine. But when I start it from a broadcast receiver the chat head is not sh...
Witter asked 26/9, 2013 at 16:15

© 2022 - 2024 — McMap. All rights reserved.