hi Michanel,
m using streaming in my application too , i dont think SDK version will
affected . u must using something that is not available in previous version
of android. so its creates problem.
i dont know the exact proble so cant give u exact answer.
m using this code for Streaming audio from web , and its working superb:
String url = "enter your Url that starts Streaming ";
Intent intent = *new* Intent(Intent.*ACTION_VIEW*);
intent.setData(Uri.*parse*(url));
<ClassName>.*this*.startActivity(intent);
<ClassName>.*this*.finish();// it will return intent after streming
.remove this line if u dont need.
i hope it will work for u :)
On Mon, May 9, 2011 at 4:12 AM, Michael Foster <[email protected]>wrote:
> Hello all
> I am building an app that can play my shoutcast radio station. For
> starters, I'm just using the standard MediaPlayer and everything
> seemingly works fine. I just point it to my shoutcast url and it
> does the rest. However, this does not work for Android 2.1 or lower.
> Also, I have found that on various devices, people have complained
> that there is no sound.
>
> I'm wondering if anyone has had any success building a shoutcast media
> player that can work on all (or most) devices. I'm willing to
> purchase a 3rd party library if reasonably priced. Is there a better
> way to do this than using MediaPlayer?
>
> thanks in advance for any tips you all can offer.
> Michael
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en