I have written an application which reads media file from specific drive.
I have placed the cutegirl.3gp in E:
here is the code:
fc = (FileConnection)Connector.open("file:///E:/Data/Sounds/cutegirl.3gp");
InputStream is = fc.openInputStream();
Player player = Manager.createPlayer(is,"video/3gpp");
Its working fine on E61i which is S60.
when I tried to run the same code on Nokia 6300 which is S40,
it could not able to play the media file and an alert comes saying "media exception".
what could be the problem?
Please help me.