I can get mediaplayer to prepare to stream a file from a URL datasource (and eventually play it when a play button is clicked) on my cliq (android 1.5), and on emulators running 1.6, 2.0. and 2.1. When a tester using a droid (2.1, I believe) tries to do the same thing (call prepare() on the mediaplayer aftrer the datasource is set), the mediaplayer's own logcat entries indicate that some buffering is happening but then this line:
07-02 15:00:35.957: ERROR/PlayerDriver(987): Command (6) was cancelled
and then no more buffering. The onPrepared event never gets fired, either. The only other reference I've seen to this error on forums says that the file must be downloaded to the phone for Droids (and possibly Nexus One's) and THEN played. Is that really true? Can anyone else call prepare() (or prepareAsync) on a mediaplayer with a url datasource and have it work for their droid or nexus one?