197 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
121
views
Flutter LiveKit screen sharing issue, app crashes on Android 14 and above
I'm using LiveKit Flutter SDK to implement screen sharing in my Flutter app.
On Android 14 (SDK 34 and above), the app crashes every time I try to enable screen sharing with:
await room!....
0
votes
0
answers
62
views
Alternative to ImageReader for MediaProjection frame capture on Android
Currently I'm using ImageReader to listen to MediaProjection's virtual display through a surface:
public void initRecorder() {
setupDynamicOverlay();
MediaProjection.Callback callback = ...
0
votes
1
answer
73
views
Projected screen using Media Projection API is not showing on a surface view overlay in android studio
I'm developing an app that records the screen using the Media Projection API and transmit the data to an overlay surface view, however, the surface view and overlay components are visible but the ...
1
vote
0
answers
191
views
Getting SecurityException when starting foreground service with MediaProjection on Android 14+ (SDK 34)
I have a live app on the Play Store that recently started crashing on Android 15 devices with the following error:
Caused by java.lang.SecurityException
Starting FGS with type microphone callerApp=...
0
votes
0
answers
50
views
How to detect if an activity in 3rd party app has FLAG_SECURE enabled?
I am making a screen recording app and I want to show an alert dialog when the user is trying to record an activity or window that has FLAG_SECURE. I want to tell user that the content he is recording ...
1
vote
0
answers
224
views
Occasional crash: SecurityException: Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION
There is a very, very low probability that my program will have the following crash:
java.lang.SecurityException: Media projections require a foreground service of type ServiceInfo....
1
vote
0
answers
81
views
Android screen mirroring application local wifi only
I want to build an android application, share screen between android device and android tv, I need local wifi network only, I already created two clients, one for phone another for TV, the TV client ...
1
vote
0
answers
116
views
Media Projection Service with WebRTC does not show playing video
I use the Media Projection Service to get the full screen on my device
private fun startScreenCapture(){
val mediaProjectionManager = getSystemService(Context.MEDIA_PROJECTION_SERVICE) as ...
1
vote
2
answers
1k
views
Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
I'm using socket for wireless screencast of client screenbuffers on server. I'm using MediaProjection for screencast. Using below code snippet I'm receiving client screen's screenbuffer on server but ...
1
vote
0
answers
40
views
How can I prevent the app from going back to the home screen when initializing the MediaProjection API?
I have created a custom launcher screen application that is displayed within the device applications. Within the application, I have included a screen recording feature using the media projection API. ...
1
vote
3
answers
2k
views
SecurityException: Starting FGS with type mediaProjection (Android 14)
Since targeting SDK 34 (Android 14), I've seen a few crashes on Android 14 (though small minority of Android 14 users):
java.lang.SecurityException: Starting FGS with type mediaProjection callerApp=...
0
votes
0
answers
270
views
Screenshot in Android with MediaProjection
I am a newbie in android programmin and write small application with Kotlin in Android Studio 2024. I need make screenshot of another application. I see MediaProjection as good way. My app has ...
1
vote
0
answers
223
views
Selecting "A Single App" in Android14 causes createVirtualDisplay() Error
Outlook
Recent security update enable android 14 devices to select "A Single App" with screen capturing. In my android application, when user select "A Single App" and select my ...
2
votes
0
answers
203
views
Can application record itself using Media Projection single app option (Android 14)?
I'm trying to record the screen of the application which starts recording using Media Projection, with "A single app" option, introduced in Android 14. In the second part of ...
2
votes
0
answers
288
views
Android OS 13 - Grant MediaProjection permission using Accessibility service
I'm working on a app which is a private app i.e. it won't be published on the Google Play Store.
I'm using Android OS 13 device. My app have a screen casting functionality. To use this functionality, ...