screen Questions

4

Solved

I need to get the color information of a specific point on screen of my android phone. Is there a way to do that through ADB? I am now using the build-in command screencap to capture the whole sc...
Plum asked 12/6, 2014 at 12:56

4

I'm working on a photo carousel. The intent is to display x pictures on one row where x is dependent on the viewport size. By viewport I mean the area inside the browser's window less scroll bars. ...
Imtiaz asked 2/7, 2016 at 15:0

5

Solved

How can I get screen resolution (height, width) in pixels?
Cloaca asked 5/9, 2011 at 7:53

7

Solved

How can i add a footer that is always at the bottom of the screen even when the page contents are very small e.g of problem, lets say I have a page that doesn't have that much on display in it, t...
Thaumaturge asked 29/5, 2011 at 21:13

8

Solved

When I run my code with TensorFlow directly, everything is normal. However, when I run it in a screen window, I get the following error. ImportError: libcuda.so.1: cannot open shared object file: N...
Illinois asked 18/1, 2019 at 7:39

7

Solved

I know how to make a window fullscreen in the "main" display, but even when moving my app's window to a secondary display connected to my PC, when I call: self.master.attributes('-fullscreen', Tru...
Denver asked 9/10, 2014 at 19:40

9

I have a windows forms project that seems to have lost all of its controls in the design view. When I run the project the controls appear as they should. Only the design view is broken in visual st...
Peewit asked 4/6, 2014 at 21:8

6

Iam using textScaleFactor in every Text widget in Flutter, but if the user change the display or font size from device settings. it change the size for all Text widgets of the whole app. Is there a...
Ostensorium asked 7/3, 2021 at 11:42

34

Solved

What is the simplest way to get monitor resolution (preferably in a tuple)?
Griffy asked 27/6, 2010 at 23:39

8

Solved

I have my application that is displaying images with different ratio, resized inside (centerInside) imageView. What I need is to create bitmap from the ImageView including the background (black in ...
Haygood asked 17/1, 2011 at 15:48

17

Solved

I have one of my activities which I would like to prevent from rotating because I'm starting an AsyncTask, and screen rotation makes it restart. Is there a way to tell this activity "DO NOT ROTATE...
Quadrennial asked 28/4, 2010 at 15:25

8

Solved

I need to know exactly how big the screen is on the device in real units of length so I can calculate the acceleration due to gravity in pixels per millisecond. Is there a method somewhere in the ...
Answerable asked 3/2, 2010 at 16:21

5

I got the Screen Size by using the following from a activity, Display display = getWindowManager().getDefaultDisplay(); But the same thing is not working from a service (for obvious reasons, i k...
Aboutship asked 9/7, 2010 at 7:50

3

Solved

i've looked the web, but all i could find were bugs regarding dual screen, and not how to set it up. I cant seem to find anywere in the options dialougue on how to do it?
Togoland asked 11/7, 2011 at 18:31

6

Solved

How can I prevent screen lock only when using Navigation? Waze has the option to do that, how can I do this in my App?
Lafleur asked 4/2, 2015 at 18:55

6

Solved

I would like to unlock screen and switching it on to show a popup on an event trigger. I am able to unlock the screen using newKeyguardLock = km.newKeyguardLock(HANDSFREE); newKeyguardLock.disable...
Geometry asked 23/5, 2010 at 10:21

8

Solved

I am developing an application that remembers the user's preferences as to where the form was last located on the screen. In some instances the user will have it on a secondary screen, and then fir...
Turnsole asked 12/6, 2009 at 14:45

4

Solved

I would like to convert a screen of my app and convert it into a Bitmap. I already know how to convert a view into a bitmap, but that's not what I want as my screen is made up of many fragments. Th...
Submit asked 25/4, 2014 at 13:24

17

I am creating an Android app in which I'm drawing a view on a canvas. When the device's orientation changes, the activity restarts. I don't want it to. How can I avoid restarting the activity when...
Sheets asked 31/12, 2010 at 6:33

29

Solved

My application has the following flow screens : Home->screen 1->screen 2->screen 3->screen 4->screen 5 Now I have a common log out button in each screens (Home/ screen 1 / screen ...
Triumphant asked 13/6, 2011 at 12:13

24

I am facing difficulties to make it responsive according to various screen sizes. How to make it responsive? @override Widget build(BuildContext context) { return new Container( decoration: new ...
Merchandising asked 7/4, 2018 at 6:16

3

Solved

I am using Tkinter to create a login screen here. At the moment, the "keep me logged in" button at the bottom is redundant and will remain so. What I want to do is use this code: from tkinter impo...
Hittite asked 26/1, 2015 at 18:51

2

Solved

Is it possible in JavaScript to detect if the browser's monitor supports HDR? I have the requirement to display a HDR certificate on a webpage when the visitor is using a HDR monitor, but I've exp...
Adnah asked 7/8, 2019 at 18:11

5

Solved

I need to get the color of some pixels on the screen or from the active window, and I need to do so quickly. I've tried using win32gui and ctypes/windll, but they're much too slow. Each of these pr...
Masuria asked 27/9, 2010 at 0:40

9

Solved

For Android, people recommend using dp (density independent pixels) measurements for UI elements, and there are conventions that exist such as using 48dp for a button height, etc. I'm working on a...
Loanloanda asked 6/5, 2013 at 1:11

© 2022 - 2025 — McMap. All rights reserved.