Problem with HTTP video stream

by fortold » Mon, 13 Apr 2009 12:12:37 GMT


Sponsored Links
 Did anyone try HTTP video streaming on the emulator?

I used the api example provided with the SDK (android-sdk-
windows-1.1_r1\samples\ApiDemos\src\com\example\android\apis\media)

I changed the path to something like " http://foo.com/bar.3gp" ; however
all I get is a meaningless error message:
"Prepare failed: status=0xffffffff "

Since the example is provided by the SDK itself, I count the code as a
correct one.

Thus I got tho questions:

1) Can the emulator play video files?
2) If it can, what are the restrictions? (file types, frame rates
etc...)

Any help will be appreciated.

Thanks in advance

fortold

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Multiple Services within a Process

This is probably a question for Dianne:

The Android 2.0 SDK introduces the startForeground() API which makes
it much less likely that a background service (and therefore a given
process) will be killed.

Suppose there are two services within a process, and one of those
services has called startForeground() while the other has not.  Will
the one foreground service "protect" the other non-foreground service
from being killed?

I'm specifically looking at a case where there could be multiple
services within a process, but coming from different APKs.  So these
would be APKs signed with the same signature, and given the same
sharedUserID and process in the Android Manifest.  I'd like to avoid
having to post a notification for each individual service, as that
would likely annoy users.


Thanks!
Carter

-- 

2. strace

Hi,

I want to trace the system calls (using strace) made by Android
Applications. I can do it using terminal emulator or adb shell.

I wrote a simple Hello World app in C and the Cross-Compile it and adb
push it into /data and I could use strace.

But how to use strace on the Android Applications installed in the
menu? Must I write a module or an app to do it?

Thanks in Advance,
Perumal

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Mohon bantuan setting manual

4. Simple Call App

5. Simple Call App - Uri?

6. ACTION_SCREEN_OFF and ACTION_SCREEN_ON

7. best way to store last calculations