Confirm MediaPlayer automatic retry on streaming HTTP error

by Skyler » Fri, 20 May 2011 09:34:08 GMT

Sponsored Links
 Hi all,
I have an app which streams mp3s from the web, proxied through a local HTTP 
server. At times, this local proxy server returns an HTTP error. It seems 
that upon receiving this error during the prepare state, the MediaPlayer 
makes one more attempt to stream, sending another request to the URL 
specified in setDataSource().

thread, I can see that after sending an HTTP error response, another request 
for the same URL is made. Can someone confirm this behavior? I'm seeing this 
from the emulator running a 1.6 AVD.

Additionally, can I disable this automatic retry? Is there a specific HTTP 
error code that I can send that will prevent this retry?



Other Threads

1. Map is not displaying even the settings are correct

I think you have to set up a new debug key on each machine you use.
I jump back and forth between my desktop and laptop and I have a separate
debug key for each.
So on whichever machine you're not seeing tiles on, run through the process
to get a debug key again and see if that works.

TreKing - Chicago transit tracking app for Android-powered devices


2. How to preserve old Db table, while adding new table columns for new version of app?

Hello everybody

Is there way for Android or in SQLite to preserve old version Db table
columns, while adding new table columns for new version.

The new application version should not vanish all user data from old

Any suggestions?


3. Multiline Button?

4. I can't git sources!

5. ADC2 - Market Conflicting Names. GOOGLE, READ IT

6. in search for hardware/driver support infos

7. Motorola Cliq Parse Problem