tags:

views:

225

answers:

0

On the stock Droid and Nexus One, an intent like this:

new Intent(Intent.ACTION_VIEW).setDataAndType(Uri.parse("http://example.com/somemp3.mp3"), "audio/mp3");

works just fine and pops open the system music player to stream the file. But it doesn't match any activities on the HTC Incredible, causing a force-close when I call startActivity on it (I'm guessing due to missing intent filters in SenseUI's replacement applications). I'd prefer not to have to manage a MediaPlayer instance myself if I don't have to; does anyone know if there's a way to structure an Intent to convince the Incredible to play an MP3 stream over HTTP in its built-in Music or Streaming Media apps?