Questions tagged [screen-grab]

30 questions
22
votes
4 answers

How to programmatically detect if any screen recording process/app is running in Android?

I don't want users to take screenshot or record screen of my app. I have added secure flag to the window. This prevents user from taking screenshots and recording screen. If the screen recording is on, my app prevents the content from being recorded…
Kalpesh
  • 4,020
  • 4
  • 18
  • 27
8
votes
1 answer

fastlane screengrab: "has not requested permission android.permission.CHANGE_CONFIGURATION"

I'm trying to execute the command fastlane screengrab in a Nexus 5X API 26 emulator. This is the result I get: rcarba$ fastlane screengrab [✔] [16:00:51]: fastlane detected a Gemfile in the current directory [16:00:51]: however it…
7
votes
1 answer

How to create Alt+Tab friendly fullscreen programs (like games) in Linux?

I want to create an application where I draw on an window, either windowed or fullscreen, where I have the mouse grabbed but without intercepting any WM keyboard shortcuts, like Alt+Tab, and I also need to be notified whenever the user enter/leaves…
darque
  • 1,566
  • 1
  • 14
  • 22
4
votes
2 answers

Run Java ScreenGrabber example

I'm trying to test the Screen Grabber sample from JMF. Could anyone tell me how to write the main method to run this example?. I have reviewed a lot in Google and have not found a way to make it work. because I do not know which of the two classes…
Lobo
  • 4,001
  • 8
  • 37
  • 67
3
votes
0 answers

How to log to the fastlane screengrab output

I am using fastlanes screengrab to capture screenshots of an app. screengrab is utilizing androids ui testing framework espresso to navigate through the app. if one of my ui tests fails I want the other tests to continue capturing screenshots but at…
Henning
  • 2,202
  • 1
  • 17
  • 38
2
votes
1 answer

Reducing PIL image size in memory

i am grabbing PIL images with screengrab from the screen, saving them in a queue and writing them into a jpg image sequence. I use a producer thread to capture and a worker to write the images down to disk. However i noticed, that this queue gets…
tarrasch
  • 2,630
  • 8
  • 37
  • 61
2
votes
3 answers

How to grab an image and save it in a folder [c# windows application]

I am Creating an windows application using c#.I have a button which should capture the image(the entire Desktop screen) and Save it in a folder .Also i need to show the preview of the image .
Karthik
  • 218
  • 1
  • 7
  • 18
2
votes
2 answers

Linux: launch window, capture screen

I need to write a Red Hat Linux command line tool that launches a window and captures its appearance to disk as a JPEG. Typically the target machines don't have graphics cards, but we can install any software components (e.g., X). Question or…
David Grant
  • 3,447
  • 4
  • 29
  • 33
2
votes
1 answer

FastLane Screengrab for androids

I'm trying to integrate fastlane screengrab into the android application and i'm running into the following issue when i execute the command. screengrab. [16:30:42]: ▸ INSTRUMENTATION_STATUS: id=ActivityManagerService [16:30:42]: ▸…
2
votes
2 answers

Display image in PHP given image content

I'm using the GrabzIt PHP library and it returns screenshots of webpages. The library returns the image content to be saved as a file, e.g: file_put_contents('images/screenshot.png', $grabzitImageContents); I want to display this image in the page…
apparatix
  • 1,492
  • 7
  • 22
  • 37
1
vote
0 answers

How to grab audio from windows?

Possible Duplicate: Capturing Audio Out We can get frame (current monitor screen data) buffer via for example BitBlt but I wonder if we can do something similar with currently playing sounds? Is there any function for that?
Rella
  • 65,003
  • 109
  • 363
  • 636
1
vote
1 answer

Prevent Video screen capture in VideoView Activity - Android

I want to Prevent Video screen capture (screen graving) in my PlayerActivity, I use VideoView. I already tried this getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE); But it works only on some…
Samiu Salihu
  • 11
  • 2
  • 4
1
vote
1 answer

create 3 android emulators [phone, tab7, tab10] and start them via commandline for fastlane

I'm working on fastlane and want to start 3 emulators [phone, tab7, tab10] and take screenshots on them. How do I create a script to create and start emulators via fastlane or commandline
ir2pid
  • 5,604
  • 12
  • 63
  • 107
1
vote
1 answer

QPixmap doesn't grab web browser window

When I use QPixmap::GrabWindow(WId) with web browser window it returns me just black screen. I'm using the following code: QScreen *screen = QGuiApplication::primaryScreen(); m_pixmap = screen->grabWindow(hW); m_image =…
Sombrero
  • 47
  • 8
1
vote
1 answer

Grab OpenGL output of an application from another application

I would like to know if it's possible, in C/C++, to launch an application and grab its standard video output? The goal of this would be to grab the buffer of an application, and use it as a texture for a grid of vertex with special texture…
Sirithang
  • 125
  • 2
  • 9
1
2