Questions tagged [android-textureview]
95 questions
0
votes
1 answer
how to rotate textureView to show a cameraPreview
I use the camera2 api to show a camerapreview, and i lock the screen orientation on lanscape, my problem is that i want to rotate the textureview to display the correct camerapreview, when i rotate it using the method setRotation, it becomes…

ahakkal
- 11
- 1
- 6
0
votes
1 answer
How to check a video has sound or not in Android?
I am using a TextureView with a MediaPlayer to play an mp4 video from a url. Is there any way I can programatically check if the video I am playing has sound?
Edit: I'm using API 14, so I don't have access to the MediaPlayer method…

Userrrrrrrrr
- 183
- 3
- 12
0
votes
1 answer
How to put a MediaController in a TextureView
I'm trying to put a media controller in my texture view but I always have an error saying
E/MediaPlayer﹕ Should have subtitle controller already set
here is my code
@Override
public void onCreate(Bundle savedInstanceState) {
…

Kairi San
- 239
- 1
- 9
- 23
0
votes
1 answer
Camera flip animation Using TextureView
I am using TextureView to show my live stream from the camera. I wrote a function that switch between front and back camera through flip animation. When I flip The Textureview through animation from 90 to 180 degree. It show the live stream right to…

user1154390
- 2,331
- 3
- 25
- 32
-1
votes
2 answers
Circular video player using texture view in android
I have to create a circular video player using textureview in android. I don't have idea how to achieve this. Kindly help.

Ajay Choudhary
- 11
- 2