Android Background Audio Looping

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
LG73
Posts: 33
Joined: Fri Jun 05, 2009 8:25 am
Location: Vancouver, BC, Canada
Contact:

Android Background Audio Looping

Post by LG73 » Wed Dec 07, 2022 9:42 pm

I have a problem I haven't been able to solve. I have an app that needs to play a background sound with looping. It works perfectly on iOS. On Android, when I use the Android Background Audio library I can't find a way to add the looping option.

I've tried to create my own looping routine using androidIsPlayingInBackground to determine when an item playing ends and restart it but that doesn't seem to work as expected.

The native Android player does looping but I can't get that to do background audio.

Is there something I'm missing that easily enables looping with the Android Background Audio library?

Thanks in advance to anyone with the missing link for this.
Cheers,

Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/

Post Reply

Return to “Android Deployment”