1
General / SFML Android Music::openFromFile crash
« on: October 01, 2014, 05:43:28 am »
Dear all,
I need to build a program to play audio file on Android, audio file on SDcard.
I've do it with libsfml build for android by following Laurent's tutorial : https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android.
But I get few bugs as :
1.Music::openFromFile never return false. App crash if can't open audio file. Audio file only work in asset folder, can't read audio file from anywhere.
2. I also write anything to SDcard althounght add permission in Manifest XML file.
Anyone can help me?
Thanks all.
I need to build a program to play audio file on Android, audio file on SDcard.
I've do it with libsfml build for android by following Laurent's tutorial : https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android.
But I get few bugs as :
1.Music::openFromFile never return false. App crash if can't open audio file. Audio file only work in asset folder, can't read audio file from anywhere.
2. I also write anything to SDcard althounght add permission in Manifest XML file.
Anyone can help me?
Thanks all.