Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about android-mediaprojection

Read more about android-mediaprojection

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - android-mediaprojection

Android - Reading VirtualDisplay frames in real time

I am capturing my Android device's screen using the MediaProjection API by creating a VirtualDisplay and displaying it on a SurfaceView that remains always visible. I would like to perform some image ...
test-img

Noam Suissa

java

android

screen-recording

android-mediaprojection

android-virtualdisplay

Votes: 0

Answers: 1

Latest Answer

Yes, use the ImageReader class and use it's surface and submit that to the VirtualDisplay. The ImageReader will then start to call it's callback from the Images produced by the VirtualDisplay and push...
test-img

Zachary Vorhies

Defining an area for a screen capture on android

I currently have a VirtualDisplay set up using the MediaProjection API which is being drawn on to a SurfaceView that is always visible. The VirtualDisplay is, however, capturing the entire display but...
test-img

Noam Suissa

java

android

screenshot

android-mediaprojection

android-virtualdisplay

Votes: 0

Answers: 1

Latest Answer

Thanks to this question, I have found a solution. Setting the SurfaceView's scale was the key: mSurface.setScaleX(/*scale factor*/); mSurface.setScaleY(/*scale factor*/); As for the scale factors, I ...
test-img

Noam Suissa

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved