Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 04-17-2009, 11:59 PM   #1
Junior Member
 
Join Date: Apr 2009
Posts: 3
Friends: 0
View Austin's Profile   View Austin's Photo Album   View Austin's Blog   View Social Groups
Hi,

I am using SDK 1.0_r1 with Eclipse 3.3(Europa).

I am trying to play a audio/video file - mp4 in the emulator but it displays a message that please provide a "path" in the Activity.

I have created a sdcard, inserted the mp4 file in that and hardcoded the path in the activity where I play my the MediaPlayer using mp.start() method.

It gives me IOException on mp.prepare() before I call start() method.

But it does not take the path that I specify in my Activity?

Do we need to do any settings to play an audio/video file?

Please help.

- Austin
Austin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
3.5mm stereo audio connector gaborg Android Hardware 7 02-09-2009 02:13 AM
Bluetooth audio pft573 Android Hardware 1 12-24-2008 11:13 PM
Streaming Audio/a challenge wbexpress Android Development, Answers, Tutorials, and Code Snippets 2 11-20-2008 04:16 PM
Can't play mp4 dhutchins Android Chat 6 10-28-2008 09:00 AM
Android web emulator lets you play with the menus Andor Android Chat 1 10-06-2008 07:01 AM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 04:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.