Hi I'm newbie in gideros I want to create a music player in gideros, perhaps anyone could give a tutorial? such as making songlist, making next song function, stop function, etc
Gideros isn't best choice for making music player. It is possible to make songlist or next song function, but isn't possible to use equalizer, work with tags and same thing.
Comments
If you want to try to create one for practice, you can check out the Music Player project provided in examples in Gideros Studio
1-Songlist
Like saving games you can store the name of mp3 files and paths in some txt file. If i were you i will generate my own file format. (in xml or json data) Than you can parse it in your program. Or you can look for other playlist formats from here:
http://en.wikipedia.org/wiki/PLS_(file_format)
By the way for saving txt files you can use @ar2rsawseen 's data module.
http://appcodingeasy.com/Gideros-Mobile/Save-and-load-data-module-for-Gideros-Mobile
2-Next,Previous song:
Once you get the list of paths and songs from your playlist and put it to an array, It is just one line of code the switch song.
3-Stop, pause is again so much easy, Just look to Soundchannel functions from here you will understand.
http://docs.giderosmobile.com/reference/gideros/SoundChannel#SoundChannel
The only challenge here i see is access file system of IOS and android.
I will try it and I'll tell if it works or not