Hello, I am creating a workout-type app.
Is there any way that I can play the user’s desired album/playlist using Corona SDK?
Any help would be much appreciated.
Summit Tech
Hello, I am creating a workout-type app.
Is there any way that I can play the user’s desired album/playlist using Corona SDK?
Any help would be much appreciated.
Summit Tech
The obvious limitation (seems to me) is the location of user files.
In corona we have access to the SystemDocumentsDirectory, so it would seem the files need to be somewhere in that folder (or subfolder). You’d probably have to make a file explorer to show the folder list and allow the user to navigate and select a file to play. If it’s an mp3, it should play on all platforms. (aif just iOS, etc)
But I think you’re limited to that scenario, as for phone security purposes, your app is limited to that area.
I don’t believe the Corona libraries provide access to the Music app playlists.
Ok thanks for the help!
Summit Tech
The obvious limitation (seems to me) is the location of user files.
In corona we have access to the SystemDocumentsDirectory, so it would seem the files need to be somewhere in that folder (or subfolder). You’d probably have to make a file explorer to show the folder list and allow the user to navigate and select a file to play. If it’s an mp3, it should play on all platforms. (aif just iOS, etc)
But I think you’re limited to that scenario, as for phone security purposes, your app is limited to that area.
I don’t believe the Corona libraries provide access to the Music app playlists.
Ok thanks for the help!
Summit Tech
Are you referring to pulling up an iOS iTunes playlist in your app? If so, this works great with the iTunes plugin; my own workout app, SevenMinutes (and the Belly App as well) use it to good effect, it works very well.
Just to clarify, the iTunes plugin is a Pro/Enterprise subscriber feature.
Rob
Are you referring to pulling up an iOS iTunes playlist in your app? If so, this works great with the iTunes plugin; my own workout app, SevenMinutes (and the Belly App as well) use it to good effect, it works very well.
Just to clarify, the iTunes plugin is a Pro/Enterprise subscriber feature.
Rob