Comments (3)
also i got it to crash on some case, when pressing home and then returning to the app (it's more steps than this, but i can't reproduce) . Here's the log:
01-01 19:13:27.876 7249-7302/com.example.android.screencapture E/Surface: dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -22
01-01 19:13:27.876 7249-7302/com.example.android.screencapture E/libEGL: eglMakeCurrent:895 error 3003 (EGL_BAD_ALLOC)
01-01 19:13:27.876 7249-7302/com.example.android.screencapture A/OpenGLRenderer: Failed to make current on surface 0xb486d220, error=EGL_BAD_ALLOC
01-01 19:13:27.876 7249-7302/com.example.android.screencapture A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 7302 (RenderThread)
01-01 19:14:18.221 9294-9344/com.example.android.screencapture E/Parcel: dup failed in Parcel::read, fd 1 of 4
dup(-2147483647) = -1 [errno: 9 (Bad file number)]
fcntl(-2147483647, F_GETFD) = -1 [errno: 9 (Bad file number)]
flat 0x0 type 0
from android-screencapture.
I think it's fixed now? It's working for me. Let me close this for now. Please reopen if it still persists.
from android-screencapture.
Seems so, but can you also show how to do more things with it? Like save into a video file? And with audio?
from android-screencapture.
Related Issues (11)
- is it possible to record touches without manually enabling it on settings HOT 1
- README.md and CONTRIBUTING.md have syntax errors. HOT 2
- is there a way to get signle screencapture for screenshot ?
- How to use MediaProjection to capture screen in a Service? HOT 3
- custom surfaceview HOT 1
- ActivityNotFoundException: Unable to find explicit activity class {com.android.systemui/com.android.systemui.media.MediaProjectionPermissionActivity} HOT 1
- 以上的方式是支持android5.0及以上版本,但是android4.3 -android5.0之间的截屏改怎么处理 HOT 2
- App completely crashes phone and tablet when ran twice HOT 1
- Media Projection API Sample showing “Unfortunately , System UI has stopped” in Lenovo Tab3 7 Essential API 22 HOT 3
- Mediaprojection doesn't work with MediaRecorder HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-screencapture.