kumari arpita
2nd August 2012, 07:06
Hi,
I tried to play mp3 in my application its playing successfully in my simulator. I have added my mp3 in my resource folder. but in the device its not finding the path to play .
So kindly help in this what i need to change in my code.
player = new QMediaPlayer;
player->setMedia(QUrl::fromLocalFile("./IQRAV1/song/GN.mp3"));
player->setVolume(100);
player->play();
Thanks and Regards,
Arpita
I tried to play mp3 in my application its playing successfully in my simulator. I have added my mp3 in my resource folder. but in the device its not finding the path to play .
So kindly help in this what i need to change in my code.
player = new QMediaPlayer;
player->setMedia(QUrl::fromLocalFile("./IQRAV1/song/GN.mp3"));
player->setVolume(100);
player->play();
Thanks and Regards,
Arpita