mediacontroller Questions

3

Solved

So I'm trying to do my homework, but the teacher's given me 0 information about this. There is an example of how to play a video from a file in the res/raw folder, but there's nothing about online ...
Lumisterol asked 23/1, 2020 at 16:10

2

Solved

My app is not the media player. I just want to be able to control the current media player using the new MediaControllerCompat class. Currently I am using MediaSessionManager but want to upgrade to...

2

I have a media controller in my android activity which uses setAnchorView to set the initial position. From what I have read if the media controller is in a scrollview the window of the media contr...
Different asked 29/12, 2014 at 10:23

5

Solved

I know how to take control of the back button. I have a VideoView embedded in a FrameLayout. My question is when the video pops up, the video controls are present for a few seconds. Hitting the bac...
Duester asked 18/5, 2011 at 22:37

3

Solved

I have been using mediaController for my app. By default, the Media Controller is displayed at the bottom of the screen. Is there a way to display the Media Controller in the middle of the scre...
Foreland asked 23/5, 2011 at 6:47

4

Solved

I am using MediaController in my app. But unfortunately the MediaController disappears after a time period of 3 secs. But I want my MediaController to be visible until my video plays fully. How t...
Overture asked 6/5, 2011 at 10:51

2

I'm trying to implement a notification player in Android. I followed this guide to achieve this. However as my requirement I need to implement "skip to next" and "skip to previous" in the backgroun...

3

Solved

** I really need help if you don't know anything don't give me a negative point :| if something bother you comment** I want to write custom UI for my player in Exoplayer(change button of pause pla...
Juanjuana asked 11/11, 2015 at 9:22

1

Android back button is not working while playing the video in VideoView. But it works before playing the video. I am using a custom MediaController for VideoView. I tried using dispatchKeyEvent, it...
Descendent asked 6/4, 2016 at 5:57

2

I am trying to use ExoPlayer, as opposed to MediaPlayer and I can't seem to figure it out... MediaPlayer has .start() / .pause() commands... and I can just seekTo(1287) and it automatically starts...
Footfall asked 3/10, 2015 at 19:15

4

This below activity works fine but the mediaController display only if I click on the screen. And the second problem is the media controller display only for 3 sec. what should I do to remove this ...
Gilbertogilbertson asked 30/6, 2011 at 5:20

10

I am using mediacontroller in my app, but it shows only for 3 seconds. I have searched a lot, but in every document I see only the show function, set time out, but it has no effect. How can I alway...
Andantino asked 16/12, 2010 at 7:54

2

Solved

For getting a MediaControllerCompat instance I'm using getSupportMediaController() in FragmentActivity. But this method is deprecated. Which method do I have to use instead of this method?
Wish asked 8/1, 2017 at 11:44

2

Solved

I have a VideoView inside a custom dialog, and I am creating a media controller for the VideoView on the fly and assigning it to the VideoView in the code, however the controller doesn't actually a...
Bratwurst asked 17/5, 2012 at 10:11

3

I have a very simple task - just to show playback controls while playing video on VideoView. But I can't solve it. Here is the piece of code that I use for initializing VideoView and setting Medi...
Viral asked 26/5, 2016 at 10:2

3

There have been a lot of discussions about how to position a MediaController and most answers are to use the setAnchorView-Method. At the first glance this solution seems to work but in my case it ...

4

Solved

The top half of my app has a VideoView with a MediaController under it. The bottom half is an image with some buttons. While the MediaController is visible, the buttons below are not clickable. It'...
Perea asked 26/10, 2011 at 22:16

2

Solved

I have used MediaController in my activity its working fine but when I play video for first time then there should b pause button visible but instead there is play and when I press that button then...
Chromaticity asked 27/7, 2012 at 6:39

2

I can't get it working... Whenever I touch my video, nothing is happing... Although, I think, the MediaController should be visible... I currently use following function to play my video: private...
Parodist asked 10/4, 2014 at 13:4

4

I have trouble finding a way to keep the MediaController on the screen when using it with a VideoView. I want to play an Audio file which is located in res/raw in my app. The file is playing but I ...
Subtile asked 11/7, 2011 at 14:32

4

Solved

I am trying to add a mediaController in my VideoView. I am trying to follow the tutorial in this site. However, I am having an error in my class in this line. MediaController mediaController = ne...

2

Good afternoon/morning! Hoping someone could help me out with a small problem I'm having. I'm playing a remote .mp3 file using a VideoView and a custom MediaController. My MediaController looks li...
Late asked 23/3, 2013 at 2:48

4

Solved

I am creating a music player application. I want to show the media controller on notification bar while my application is running in background. It looks like Google player. How to do this?
Unweighed asked 21/9, 2012 at 7:42

1

Solved

In my activity I have got a VideoView which should show a MediaController on touch. If the user touches quickly on Controller while VideoView is not following, after that user presses back button, ...

2

I want to add a button to MediaController. So I extended MediaController class, created a button and added it into the frame layout. But the newly added button is not reflecting while running. Ple...
Sanction asked 4/6, 2012 at 10:17

© 2022 - 2024 — McMap. All rights reserved.