Error playing YouTube video in my application

by awwa » Mon, 27 Apr 2009 16:34:51 GMT

Sponsored Links
 I'm trying to play streaming video(*.3gp) with android SDK 1.5 pre.
I have customized the APIDemo ->
Specify the "path" to the URL of rtsp.
I got the URL from the following URL.
I used the following URL(*.3gp)
path = "rtsp://

But following error has occur.
Please help me what is happen.

04-27 07:10:24.238: WARN/ActivityManager(587): Launch timeout has
expired, giving up wake lock!
04-27 07:10:24.265: WARN/ActivityManager(587): Activity idle timeout
for HistoryRecord{43603ba0 {}}
04-27 07:10:27.975: ERROR/PlayerDriver(972): HandleInformationalEvent:
04-27 07:10:28.584: WARN/PlayerDriver(972): Using generic video MIO
04-27 07:10:44.975: ERROR/PlayerDriver(972): Command PLAYER_PREPARE
completed with an error or info PVMFFailure
04-27 07:10:44.985: ERROR/MediaPlayer(1095): error (1, -1)
04-27 07:10:44.995: ERROR/MediaPlayer(1095): Error (1,-1)
04-27 07:10:45.515: WARN/PlayerDriver(972):

I have confirmed the local *.3gp file is enable to play with this
path = "/sdcard/747.3gp"


Error playing YouTube video in my application

by Dave Sparks » Tue, 28 Apr 2009 05:26:56 GMT

 I assume this in the emulator. I believe the issue is that the
emulator does not forward the UDP packets you need for the RTP
session. This should work on a real device.


Sponsored Links

Error playing YouTube video in my application

by awwa » Tue, 28 Apr 2009 13:58:38 GMT

 Thanks for your replying.
The issue is certainly in the emulator.
(I have no device of 1.5 android yet.)
I will try this in the real device after getting it.


Other Threads

1. Choosing an Image

Hi Everyone,

I'm trying to allow the user to choose an image to load into my app
using the default image browser on the phone.
Here is what I have so far:

Intent findImageIntent = new Intent(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(findImageIntent, "Select
Picture"), IMAGE_SELECT);

This correctly launches the image chooser and I'm able to click one
which returns me to my main activity.  However, it does not load the
image I selected, returning a -1 for resultCode in onActivityResult.

Anyone know what I'm doing wrong?


2. Change application preferences programmaticaly

First, there is no single "defalut SMS application". Each device may
have different ones.

Second, the AOSP Messaging application ( is not part
of the Android SDK, and so there are no documented APIs for
manipulating it.

You cannot modify settings in another application, any more than other
applications can hack into yours. Sorry!

Mark Murphy (a Commons Guy) | |

_Android Programming Tutorials_ Version 2.9 Available!


3. OOT : Konsultasi GRATIS dengan dokter via Instant Messaging, 24 jam sehari, 7 hari seminggu tanpa batas

4. J2ME

5. Change application preferences programmaticaly

6. How to register a long click on a WebView somewhere else than on links?

7. geoCoder: getFromLocationName ?