Hello to all,
I am developing DRM music player and so far i am quite successful in playing Forward Lock music file(.dm) on Emulator as well as on my SE W810i using FileSystem and MMAPI. and i am using Sony Ericson Packager for music file packaging of Forward Lock and Separate delivery file.
The problem is when i am trying to play Separate delivery DRM protected music file(.dcf). so it basically throwing an exception:
" Throwable: javax.microedition.media.MediaException: start "
Code is :
FileConnection fc = null;
InputStream is = null;
fc = (FileConnection) Connector.open("file:///e:/sample.dcf");
is = fc.openDataInputStream();
p = Manager.createPlayer(is, "audio/mpeg");
catch (Throwable t)
System.out.println("Throwable: " + t.toString());
Can anybody tell me how can i solve this problem. i will be very thankful.
Thanks in advance.