Android : How To Play Video In Droid From Local Disc?
Jun 23, 2010
Am able to play videos from URLs but not able to play from local disc. The file is stored in the C:/users/workspace/test/res/raw/test4.mp4 how do I parse this path in Uri.parse??
View 1 Replies
Jan 27, 2009
I can only get the VideoView to play videos on the sdcard, NOT local to my application. Is there a permission requirement to get this working or can it only access the sdcard?
Working: VideoView videoView = (VideoView) findViewById(R.id.video); videoView.setPath("/sdcard/video.mp4");
Not Working ("Cannot Play Video"): VideoView videoView = (VideoView) findViewById(R.id.video); videoView.setPath("/data/data/com.myapp/app_files/video.mp4");
Log Errors: 01-27 15:56:14.920: ERROR/MediaPlayer(3341): Error (-4,0) 01-27 15:56:14.920: DEBUG/VideoView(3341): Error: -4,0
View 4 Replies
View Related
Jul 10, 2010
In my application, RTSP streams play only sound without video, but if i specify the video path as a local file, it plays the video and audio.
How would i get the RTSP streams to show video?
CODE:.................
View 2 Replies
View Related
Aug 19, 2010
I'm working my way through Technica's vids, but I'm stuck at the part where I'm supposed to paste the root "package" on my sd card. My phone is recognized in My Computer as Removable Disc F:, but every time I click on it I get a pop up with "Please insert a disk into Removable Disk F:." I've restarted my phone with no luck.
View 3 Replies
View Related
Aug 7, 2011
Im using Eclipse created new android project.First thing i added to the menifest xml file two lines:
Code:
uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>
<uses-permissionandroid:name="android.permission.STORAGE"></uses-permission>
And this is the complete menifest file code:
Code:
xmlversion="1.0"encoding="utf-8"?>
manifestxmlns:android="http://schemas.android.com/apk/res/android"
package="com.AllFormatsVideoPlay"
android:versionCode="1"
android:versionName="1.0">
[code]....
Now i tried to play a video file .3gp from the internet youtube link via my android device ! not emulator. And it worked! But when i tried to play a video file .3gp or .mp4( i converted the mp4 from 3gp ) its not working. Im getting error "Cannot play video Sorry, this video cannot be played"
Tried to play with the link to my device wich is: I:DCIM100MEDIAVIDEO0030.3gp or .mp4 or tried this: I:/DCIM/100MEDIA/VIDEO0030.3gp with "" like: "I:/DCIM/100MEDIA/VIDEO0030.3gp ";
I tried to remove the I: but it didn't change anything.This is the main code im using to play the video files on my device. And there some lines i marked with // wich i used to play from the internet and im not using now.
Code:
com.AllFormatsVideoPlay;
import
android.app.Activity;
import
android.graphics.PixelFormat;
import
[code]....
View 7 Replies
View Related
Dec 10, 2009
If this is a repeat of another thread then i apologize .i need a video player that will play mp4 video in full resolution for the droid.m coming from bb.can you help me with this.i don't care if it is free or not.
View 8 Replies
View Related
Jul 21, 2009
I plan to have a 3gp video file that will come with the installation package, it will be placed in /files/ subdirectory, and I would like to ask the native Android media player to play it when I want that.
Here is what I have planned to do/code:
Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
Uri data = Uri.parse("BattlestarGalactica.3gp"); intent.setDataAndType(data,"video/3gpp"); startActivity(intent);
However, when I try to launch the lines above, I get the following error:
CODE:.............
And the video can not be played.
What am I doing wrong that is not applicable to Android platform?
View 7 Replies
View Related
Sep 9, 2010
I guess webview is the best solution to play a local swf-file (flash). I just get cryptic character in the emulator with this html code in webview.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Flash</title>
</head>
[URL]
How can i play a local swf-file when the user click on some kind of link, java or html?
View 10 Replies
View Related
Jan 6, 2010
I was just wondering if it's possible out of the box or via a library.
View 1 Replies
View Related
Jul 16, 2010
I can't figure out why am i not able to play the video in my VideoView. All i'm getting a message is Cannot Play Video : Sorry, this video cannot be played. I created an SD card for my emulator as well. Do i need to place me SD card in a particular folder in my SDK?
View 2 Replies
View Related
Mar 5, 2010
Is there any way to play video in Android App widget.
View 1 Replies
View Related
Jul 16, 2010
I can't figure out why am i not able to play the video in my VideoView. All i'm getting a message is Cannot Play Video : Sorry, this video cannot be played. I created an SD card for my emulator as well. Do i need to place me SD card in a particular folder in my SDK? Please comment.
View 3 Replies
View Related
Jun 30, 2010
I am so in trouble . Getting no guidedence over net that how to play swf file from sdcard/myswf.swf folder or data/data/package.name/flash/myswf.swf in froyo. I have froyo in my mobile and adobe flash is installed from market. But i not knowing, what code i need to write to run this local file in my Webview?
View 1 Replies
View Related
Apr 10, 2012
So I have a directory on my phone with some MP3s. I put a ".nomedia" file in the directory because I don't want these files to show up in Google Play Music
When I open 'Play Music', these files show up no matter what.
I just want Google Play Music to stream files, and I want to use an alternative player for the local Mp3s.
View 1 Replies
View Related
Nov 15, 2009
Can you play any fancast.com files on the Android OS? Thinking about getting the HTC Droid Eris but want to know all about it first so don't make a mistake. I am currantly running Skyfire for my browser and it works really fast and can watch any video.
View 3 Replies
View Related
Dec 3, 2009
Can anyone tell me if the Android MediaPlayer class is able to play a video stored in a remoted URL? Just for testing purposes, can I use the URL http://localhost/video-name.3gp. Another question is if the MediaPlayer works well on the emulator?
View 2 Replies
View Related
Aug 19, 2010
can the android 1.8.2 version play youtebe video ? I can't open youtube in China.
View 2 Replies
View Related
Apr 26, 2010
so what is the deal with the youtube not being able to play video?
View 4 Replies
View Related
Feb 24, 2010
Every video I try to watch on You Tube comes back as "Can not play this video" I have the icon, why would I need to download any further application to watch you tube?mm
View 11 Replies
View Related
Nov 3, 2010
I have a Droid Eris and the NFL football app. I wanna be able to hook my Eris to my tv and stream the video to play from my phone onto my tv.
View 3 Replies
View Related
Feb 9, 2010
I wanted to download a movie to the phone but I am not sure if there is a player on it.
View 7 Replies
View Related
Sep 21, 2010
I just keep getting the same message whenever I try and play video on my Droid..."Sorry this video cannot be played on this devise" It worked fine before the software upgrade. I have already done a factory reset and rebooted my phone multiple times.
View 11 Replies
View Related
Nov 24, 2010
I want to subscribe to tennistv.com so I can watch tennis and would love to watch it on my Samsung Galaxy S phone too.
It uses a WMP DRM'd stream for live matches, is there any media players on android that I can use or maybe a 3rd party service which can transcode the stream in a format the phone can understand?
View 1 Replies
View Related
Aug 22, 2010
one problem i just noticed since i installed LFY1.4 with the smoked theme.. when i try to play videos that i recorded on my phone previous to rooting, and rom'ing i get an error "sorry this video cannot be played". it only happens with certain videos, not all of them. not sure if it has to do with the rom, the theme, launcher pro, rooting or what.. wondering if anyone else has had this problem, or anything similar?
View 2 Replies
View Related
Feb 14, 2010
So according to HTC the eris is supposed to play wmv file formats. Well I have a video on my phone that is wmv and the phone will not play the video. Any ideas?
View 4 Replies
View Related
Mar 1, 2010
So I have had my Droid Eris for about a week now. The other day I decided to play around on YouTube to see what it was like. Here is the thing though, I have literally found like 1 video that will play. Most of the time I get "This video can not be played". Anyone know why this is?
View 4 Replies
View Related
Dec 28, 2009
How to play .avi-.wmp-realplayer video on eris
View 10 Replies
View Related
May 4, 2010
I took a video on my Moto Droid, and sent it to my friend on his Eris. He downloaded the file from Gmail and but when goes to play the file, it states that the video is not supported. We have tried converting it to a .mp4 and it will not play either, even with a couple of App's from the Marketplace same result. Yet I thought the droid/Eris both supported .3GP? Works fine on his PC with Quicktime, and the video plays fine on my Droid. Is it because I took it in Hi-Res mode, and the Eris does not support that screen resolution? Or did we screw something up?
View 5 Replies
View Related
Mar 1, 2013
i have the golf channel app installed, on telus network. I cant get the videos to play, keep getting message "cant play video at this time:
View 4 Replies
View Related
Nov 21, 2010
When I record a video using Talking Tom and email it to myself, I get an error message when I try to play it on my droid x. It does play on the PC however and others can also play it. I've also tried saving it to my sd card but it doesn't play. Any ideas?
View 1 Replies
View Related