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. shared ID and permissions sharin

Hi,

If 2 applications are signed with the same key and have the same ID
(shared ID)

By doing this, for purposes of security the two packages are then
treated as being the same application, with the same user ID and file
permissions

Could someone clarify the security behavior depending on the following
use cases

Use case 1:
- if the 2 applications are running in 2 different processes (if
defined by process semi colon parameter in the AndroidManifest files)

So, the 2 applications are running in 2 different DalvikVM in 2
different processes,

Are the granted permissions shared too ? or each application stay
isolated for the permission accesses?

Use case 2:
-  If the 2 applications are running in the same process.

So, the 2 applications are running in 2 different DalvikVM but in the
same process.
Are the granted permissions shared too ? or each application stay
isolated for the permission accesses?

Because they are running in the same process, so they will have the
same process group ID.

Group ID assigned by the Platform.xml permission definition will
provide same file access rights ( based on group rights ) to both
applications, even if permission was declared in one of the
application? maybe not the same behavior if they are running in 2
different processes as the use case 1.

Thks,
Guillaume

2. How to handle " HTTP/1.1 416 Requested Range Not Satisfiable"

Hi friends,

In my app, I am getting this response. I dont know how to handle this.

Please can some one suggest me.

Thanks,
Manoj.
--~--~---------~--~----~------------~-------~--~----~

3. Performance: pre-instantiate activities on app launch? Good practice or not?

4. can i add a click listener to a drawable?

5. OpenGL SurfaceView renders black on first start - works after orientation change

6. Unused java hardware acceleration on the G1 (was Android game developers desperately need optimised game engine example code ...)

7. Central repository creation