Hello all.
I have an app that plays music from a server using mediaplayerstream.
I'm not sure why it stops when the phone locks. I am using B4A version 5.8 and I don't seem to be able to do service.startforeground, which I think is necessary. Although I can't be sure it isn't due to some power saving or perhaps the wifi connection sleeping. It used to work several android iterations ago. Does anybody have any ideas? (I have set wifi to stay on when the phone sleeps).
Many thanks
I have an app that plays music from a server using mediaplayerstream.
I'm not sure why it stops when the phone locks. I am using B4A version 5.8 and I don't seem to be able to do service.startforeground, which I think is necessary. Although I can't be sure it isn't due to some power saving or perhaps the wifi connection sleeping. It used to work several android iterations ago. Does anybody have any ideas? (I have set wifi to stay on when the phone sleeps).
Many thanks