Questions tagged [android-video-player]

Related to playing videos in Android API

541 questions
0
votes
1 answer

How to pause audio player when video player starts playing?

I am developing an audio player, it can play the audio files in background. My problem is that I need to pause the audio player when video recorder or video player is starts. Are there any methods to handle this task? For example I have…
0
votes
2 answers

Checking date every time in android

I am developing an app. The basic concept of the app is that I have to keep few video playing continuously. The list of videos i.e playist is maintained by webservice. The playlist has dates on which date which playlist is to be played. My problem…
0
votes
1 answer

Scroll view with Button, ImageView and viedoView

I try to make scroll view with button, imageview and viedoview. I create dynamically from my code. When i put button with video, i can see the both of them. The same with button and imageView. My problem is when there is videView and imageView. When…
0
votes
1 answer

Create VideoView from code

I try to create ViedoView from my code but when i run it i dont see any views created. I save the path of the video in my DB and then trying to display it. I try the same thing with ImageView and its works so i guess i forget something in…
tomer
  • 389
  • 2
  • 6
  • 16
0
votes
1 answer

Hide video url on video player

I am getting video from my server (myserver.com/salsa/myVideo.mp4) and playing it on default android application using Intent tostart = new Intent(Intent.ACTION_VIEW); tostart.setDataAndType(Uri.parse(myServer.com/salsa/myVideo.mp4),…
mamba4ever
  • 2,662
  • 4
  • 28
  • 46
0
votes
1 answer

Videoplayer doesn't play video in splah screen

I have a splahs screen in my application and i am playing a video on that activity. But in some Android versions ( i mean old ) the video doesnt play. i dont know what to do.. here is some of my code public void PlayVideo(){ try{ …
Fatih POLAT
  • 147
  • 1
  • 4
  • 16
0
votes
2 answers

complete action using video player

my app plays videos from URL when only default player is installed and when there are more than one it fails. I would like to show the dialog with the player installed like this picture…
Ivan
  • 215
  • 3
  • 17
0
votes
0 answers

BitmapFactory.decodeByteArray() returning null

I have to make an android MJPEG player that receives RTP packets, gets the payload, and displays the image on the screen. This is how I'm getting my packet: RTP.java socket.receive(receive_packet); rtp_packet = new…
user1287523
  • 967
  • 3
  • 14
  • 31
0
votes
1 answer

video play and stop in android from xml parser

I have follows below xml feed: Here how can i play video ??? i have wrote the below…
0
votes
1 answer

Error in Service with MediaPlayer when rotated the device

any sugestion to make a VideoPlayer (for a HLS stream) who retain the buffer status on rotating the device? I was making a service always in background and handling the surface attach when rotating the device, but doesn't work. I loose the video…
Rodrigo Amaro Reveco
  • 4,932
  • 5
  • 22
  • 33
0
votes
1 answer

Android video view

I want to implement a video player using video view in android. Everything is working from functionality point of view. But there is a problem with full screen mode and orientation change. I want video view in such way that, In Landscape mode full…
Suresh
  • 7,785
  • 1
  • 16
  • 28
0
votes
1 answer

Create video blocking appearance on View

I'm creating an activity that will play video files from the web. That part is working well. At certain points in the video, I need to overlay views over the video. The views will have basic UI elements, mainly buttons and some text (which cannot be…
raydowe
  • 1,285
  • 1
  • 16
  • 31
0
votes
1 answer

Android AwesomePlayer: Unexpected abortPrepare. Notify listener of error

I get this error when trying to start a video with a VideoView on a Sony Ericsson Xperia ray OS vers. 2.3.4. The video playback works just fine on both Galaxy Nexus 4.1.1 and Nexus 7 4.1.1/4.1.2. Any thoughts ? Thanks ! LE: It also works on Nexus S…
Bogdan Zurac
  • 6,348
  • 11
  • 48
  • 96
0
votes
1 answer

How to record video in portrait on android

I have an application where the the user can record video. The app is designed to be used in portrait. The camera preview is fine however when I watch the video back is is rotated to the side.I know you cannot modify the camera stream, and the way…
RedChris
  • 523
  • 1
  • 8
  • 19
0
votes
2 answers

Can not access memory card on HTC ONE V

I am developing and testing a simple video player example in Android. Code is given below: VideoView vid = (VideoView) findViewById(R.id.videoView1); vid.setVideoPath("/sdcard/myvideo.mp4"); vid.setMediaController(new…
swdeveloper
  • 908
  • 1
  • 11
  • 33