Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User atiqkamran's Avatar
    Join Date
    Jun 2007
    Posts
    28
    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 :
    ____________________________________________________________
    try
    {
    System.out.println("Checkpoint 1");
    FileConnection fc = null;
    InputStream is = null;
    System.out.println("Checkpoint 2");
    fc = (FileConnection) Connector.open("file:///e:/sample.dcf");
    is = fc.openDataInputStream();
    p = Manager.createPlayer(is, "audio/mpeg");
    System.out.println("Checkpoint 3");
    p.realize();
    System.out.println("Checkpoint 4");
    p.start();
    System.out.println("Checkpoint 5");
    }

    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.

    BR,
    kami

  2. #2
    Nokia Developer Expert dcrocha's Avatar
    Join Date
    Jun 2005
    Posts
    923
    Please have a look at the Technical Library:

    http://www.forum.nokia.com/document/..._API_MMAPI.htm

    []s
    Daniel

  3. #3
    Registered User atiqkamran's Avatar
    Join Date
    Jun 2007
    Posts
    28
    Hi Dcrocha,
    Thanks for your help.but as its written in the document that you cant play .dm file ,but may be its only for NOKIA phones, as i have developed an application using MMAPI which can basically play .dm file from file system by using FC API on emulator and even i can play that .dm file on my SE W810i mobile as well. but i am trying to play .dcf (Separate delivery file) which is giving me IO.Exception when i am trying to play that.


    and i packaged these files using SE Packager.

    Could you tell me how i resolve this problem?

    Thanks
    kami

  4. #4
    Nokia Developer Expert dcrocha's Avatar
    Join Date
    Jun 2005
    Posts
    923
    Actually, I think you missed the explanation there. What I said is that if you don't save your ".dm" file using the device browser, then it's gonna be impossible to play it back.

    You have to download the ".dm" or ".dcf" files using the browser so the protection can be applied. Transferring the drm-protected file using Bluetooth does not work in Nokia devices; if you do that, the file will be considered corrupted and be rendered unusable.

    Daniel

  5. #5
    Registered User atiqkamran's Avatar
    Join Date
    Jun 2007
    Posts
    28
    Thanks,

    So is there any other way to send files without downloading them through HTTP. for example i create .dm/.dcf file from SE packager and try to send it, so is it possible to send through BT.

    Thanks
    kami

  6. #6
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    Quote Originally Posted by atiqkamran View Post
    Thanks,

    So is there any other way to send files without downloading them through HTTP. for example i create .dm/.dcf file from SE packager and try to send it, so is it possible to send through BT.

    Thanks
    kami
    dm file can be download only via HTTP but dcf file can be download via Bluetooth and and other source but for playing dcf file you need right file thats is call dr file, and dr file can only come via a push message(in the case of DRM 1.0)

  7. #7
    Nokia Developer Expert dcrocha's Avatar
    Join Date
    Jun 2005
    Posts
    923
    Summary:

    - .dm file must be downloaded either through HTTP (web browser) or MMS.
    - .dcf file may be downloaded in any form (HTTP, BT, MMS, etc.) but the Rights objects must be pushed to the phone via Wap push.

    Any other situation (e.g.: .dm via Bluetooth) and the file is not protected, therefore being unusable.

    []s
    Daniel

Similar Threads

  1. Problem with Right In DRM Separete Delivery
    By aliagamanuel in forum Digital Rights Management & Content Downloading
    Replies: 27
    Last Post: 2008-11-07, 13:52
  2. problem in receiving delivery report
    By gomathy_ezhil in forum General Messaging
    Replies: 5
    Last Post: 2008-10-14, 05:42
  3. Problem with Separate Delivery with 6230i SDK
    By eikacraving in forum Digital Rights Management & Content Downloading
    Replies: 2
    Last Post: 2006-05-26, 13:51
  4. Nokia Delivery Server 2.0 and DRM Simulator
    By sogogo in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2004-02-07, 11:55
  5. php query problem in nokia
    By datareceived in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2002-12-10, 11:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved