Questions tagged [android-video-player]

Related to playing videos in Android API

541 questions
0
votes
1 answer

big video file in ListView containing a VideoView

I have an endless ListView (like explained here) which also contains an VideoView. Problem is that with the 270MB video which right now is placed in the RAW folder, the ListView is somehow laggy and the building of the app takes for ever. What is…
0
votes
1 answer

Video recording not working on HTC One S using Camcorder

Actually I need to record video of different resolution (like 480p, 720p, 1080p) with my app. In HTC One S (Android 4.0.4), video recording is not working with any of the Camcorder profile (except with QUALITY_LOW, QUALITY_CIF and QUALITY_QCIF but…
0
votes
1 answer

Android VideoView Error: 1,-19

Can anyone tell me how to use videoview to play mp4 url. I have written the code which is giving me error in my logcat as: 08-05 04:37:35.978: D/MediaPlayer(1693): getMetadata 08-05 04:37:37.918: E/MediaPlayer(1693): error (1, -19) 08-05…
0
votes
0 answers

How to make video stick on top?

When you play video in YouTube app, at first it's full screen. When you click back button it goes to this mode: I have seen similar thing made in this app. How is it made? Is there any particularly library? Thanks.
Gintas_
  • 4,940
  • 12
  • 44
  • 87
0
votes
1 answer

Which is the best view to play video among VIdeo player,Surface view,texture view

I am working in a project for streaming videos . I need to develop a view which can run the video from internet i googled for this and find some views but i cant decide which is best and why, so please help me to find a best view to play video. And…
Rakki s
  • 1,426
  • 1
  • 18
  • 42
0
votes
1 answer

Open Android Native Player from Fragment

I'm trying to open a video in android player from fragment but send me this error No Activity found to handle Intent here's the code @Override public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) { …
marcrobito
  • 23
  • 3
0
votes
1 answer

How to show video from server to media player android

Hi I have checked lot in the google can't get the correct answer my problem is I want to show the video in surface view using media player I am succeed using video which is in SD card but when I try something in Server I can't. Following is my…
Rakki s
  • 1,426
  • 1
  • 18
  • 42
0
votes
2 answers

Create bitmap overlay with some information

I've created a Bitmap [Thumbnail] which is fetched after picking a video from gallery. Snippet:- bm= ThumbnailUtils.createVideoThumbnail(currentFileUri.getPath(), MediaStore.Video.Thumbnails.MICRO_KIND); I'm putting these bitmap in Gallery adapter…
Vikalp Patel
  • 10,669
  • 6
  • 61
  • 96
0
votes
0 answers

Video player Android selection

When trying to play a Video on Android, the app is prompting the user to select the player. In code, I am doing the following. Is it possible that I select the player so the user wont' be prompted? String url = (String) v.getTag(); …
Sam
  • 875
  • 10
  • 22
0
votes
1 answer

streaming a video from website android

I am new to android. I have created a simple example for playing video files with the videoView. the xml part contains only one Button and a VideoView, Here is the code for ButtonClick @Override public void onClick(View arg0) { …
Dev
  • 31
  • 5
0
votes
2 answers

How to record a video Only 2 min in titanium

I have tried recording a video for only 1 min with Titanium in Android using this function: var intent = Titanium.Android.create Intent({action : 'android.media.action.VIDEO_CAPTURE'}) and I've set duration limit with…
0
votes
2 answers

Downloading to a temp folder then overwriting original files - speed issues?

I have an app that downloads a single html file and various images and sometime, mp4 videos. After an initial download, repeat downloads are done every 15 minutes by a background service. The service checks if there are any new files and if any…
0
votes
0 answers

Android 4.1.1 not playing mp4 Video

I am developing an android application which plays videos stored on SD Card. Android 4.2, 4.2.1, 4.1.2 is playing the videos with out any issue but Android 4.1.1 is showing "Can not play this video" dialog. Whats the issue? Any help will be…
0
votes
2 answers

How to implement event listeners for fast forward/rewind buttons in Android MediaController

Here is my custom media controller. I would like to add listeners for fast forward and rewind buttons. I am able to add listeners for previous/next videos. But not on these buttons. Can any one point out a reference or give an idea on how to…
intrepidkarthi
  • 3,104
  • 8
  • 42
  • 75
0
votes
1 answer

Change size of VideoView at runtime

I have used this code to change videoview during rumtime So, I am using this code VideoView video; DisplayMetrics dm; dm=new DisplayMetrics(); this.getWindowManager().getDefaultDisplay().getMetrics(dm); height=dm.heightPixels; …