Screenshot of a TextureView [closed] - android

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Is it possible to get a screenshot of an activity containing a texture view showing camera preview and an image over the texture view?
Creating bitmaps resulted in blacked out background screens and could not find any solution for such a case in the previously asked questions.
Or any in built support for getting screenshots of my application activity?

As SurfaceView uses OpenGL thread for drawing and draws directly to a hardware buffer. You have to use glReadPixels.
you can refer this thread :
Android OpenGL Screenshot
i hope this will work for you

Related

cut mp4 file from 720*480 to 480*480 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have recorded a mp4 file by my android application. Unfortunately,I want to cut it from 720*480 to 480*480, and delete the others. but I have no idea about it.
Could you help me?
You can decode it. Then crop the YUV frame to 480*480. Then encode again. But note that different phones have different encoders and decoders. And the YUV color formats can be different.

Touch on Android Secondary Display [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I would like to enable mouse and\or touch input on a secondary display on Android.
Is it possible? It seems like secondary display is only targeted for presentations on HDMI or WiFi Displays where touchscreen doesn't normally exist.
However I don't see why I shouldn't be allowed to plug in mouse and allow it to move from primary display to secondary one. Or have the mouse exclusively on a secondary monitor.

How this animation called in android? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I don't know if this question is good for this place, but I have no idea how called this animation which looks like something is dropped to water and from this point goes circles which became bigger and bigger like on the lake.
Like on this image
I can see this effect many time, for example in some phones when the screen is blocked, when we click on the key we get this effect.
So I think this effect has a name in android and I'm so curious about it, because I wanna add it to my app. I would be great for this answer
It's a Riple effect, what android version did you see it on?

What's are possible alternatives to do screencast from Google Glass on desktop? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
During Google Glass presentations you can see that Googlers are using some nice java app for screencasting their screen from Glass. App's ID is com.google.glass.screencast. However I couldn't find source or jar to download anywhere.
So far I found Droid#Screen, which works fine but lacks couple nice features from above app. Do you found any other interesting alternatives more suitable for Glass presentations?
This might not be the best solution out there but in the past I have used Android Screen monitor for Glass screencasting and it worked pretty well.

Blur effect via OpenGL ES 2.0 in Android [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I've tried to find any blur effect realization. But I found only CPU realizations. They don't suit me, because I work with large bitmaps (fastblur realization crashes with OutOfMemory with memory optimization) and I need use radius value with float point for flexible adjustment.
I think if I will use OpenGL ES facilities I would avoid problems from above.
Does anybody know solution?
OpenGL ES 2.0 can definitely do the blur you need. It will take two passes. One pass to render it, and the second pass to run a fragment shader with blur.
Here is another answer talking about it in more detail:

Categories

Resources