Hi Ogi -
I am struggling to get my shoutcast stream connected to my android
app. Any chance you can share some of your code or point me to a
tutorial which can guide me?
Best,
Milan
On May 4, 5:16 pm, ogi.andr...@gmail.com ogi.andr...@gmail.com
wrote:
I've successfully playedshoutcastmp3
Using startService() didn't change the situation. I believe the real
trouble is that AudioTrack gets into an endless loop, and I need to
figure out some way to restart it. This won't make my application play
consistently, but it'll be enough to prevent the reboot of the whole
device. I've tried
If you want to reliably do something in the background, you need to use a
service. Having a static reference to some object is not enough.
On Mon, May 4, 2009 at 3:16 PM, ogi.andr...@gmail.com ogi.andr...@gmail.com
wrote:
I've successfully played shoutcast mp3 streams while the application
I see you already tried to put it in a service.
How do you stop/start this service?
If your activity just binds to the service, the service will stop when
the activity goes away. To fix this, do a 'Context.startService' as
well. This will cause your service to stay running in the background,
Sorry, didn't quite read far enough. So you're using a service but it still
crashes.
If it really crashes, then the system log should show a stack trace that
gives you more information about the crash. Have a look there in that case.
If by crashes you mean stops playing, then I'm guessing your
5 matches
Mail list logo