×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    141

    MMF plugins registration problem under 3ed

    hi, all

    i have problem with my mmf plugins registration under symbian 9.x (3ed), i wonder where they should be placed (plugins resource files and dll's) or maybe in 3ed there is another way for mmf plugins registration... on 3ed emulator all works fine, my player application successful use my mmf plugins... on 2ed emulator and 2ed phones all works fine...

    here is my .rss file:

    // MMFAVIDemultiplexer.rss

    #include "MMFAVIDemultiplexerUIDs.hrh" // UID's
    #include <mmfPluginInterfaceUIDs.hrh> // System UID's
    #include "RegistryInfoV2.rh"

    RESOURCE REGISTRY_INFO theInfo
    {
    // resource_format_version must always be set as follows
    resource_format_version = RESOURCE_FORMAT_VERSION_2;

    dll_uid = MMFAVIDemultiplexerDLLUid;
    interfaces =
    {
    INTERFACE_INFO // Format Decode Plugin Description
    {
    interface_uid = KMmfUidPluginInterfaceFormatDecode;
    implementations =
    {
    IMPLEMENTATION_INFO
    {
    implementation_uid = MMFAVIDemultiplexerUid;
    version_no = 1;
    display_name = "My MMF AVI Demultiplexer";
    //default_data = "MMFMediaControllerUid";
    default_data = "0xED80231A";
    opaque_data = "<s>Home product<i>0x101F5D08<e>.avi<h>RIFF????AVI?<m>video/avi";

    rom_only = 0;
    }
    };
    },
    INTERFACE_INFO // Format Decode Plugin Description
    {
    interface_uid = 0x101F0001;
    implementations =
    {
    IMPLEMENTATION_INFO
    {
    implementation_uid = MMFAVIDemultiplexerUid;
    version_no = 1;
    display_name = "My MMF AVI Demultiplexer";
    //default_data = "MMFMediaControllerUid";
    default_data = "0xED80231A";
    opaque_data = "<s>Home product<i>0x101F5D08<e>.avi<h>RIFF????AVI?<m>video/avi";

    rom_only = 0;
    }
    };
    }
    };
    }

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: MMF plugins registration problem under 3ed

    The resource file needs to go in \resource\plugins and the DLL in \sys\bin.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  3. #3
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    141

    Re: MMF plugins registration problem under 3ed

    hi cdavies,

    i've tried your advice and it's does't helps me... my plugin still does't register on the phone ;(

    here is my .pkg:

    #{"MMFAVIDemultiplexer DLL"},(0xED80230A),1,0,0

    ;Localised Vendor name
    %{"Vendor-EN"}

    ;Unique Vendor name
    :"Vendor"

    ;Supports Series 60 v 3.0
    ;[0x101F7961], 0, 0, 0, {"Series60ProductID"}

    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\MMFAVIDemultiplexer.dll" -"c:\sys\bin\MMFAVIDemultiplexer.dll"
    "$(EPOCROOT)Epoc32\data\z\resource\plugins\MMFAVIDemultiplexer.rsc" -"c:\resource\plugins\MMFAVIDemultiplexer.rsc"

    after install, for check plugin registering state, i use following code:

    CMMFFormatDecodePluginSelectionParameters *iFormatDecodeParameters = CMMFFormatDecodePluginSelectionParameters::NewL();
    RMMFFormatImplInfoArray iFormatDecodeImplInfoArray;

    // get information about all format decode plug-ins
    iFormatDecodeParameters->ListImplementationsL(iFormatDecodeImplInfoArray);

    CMMFFormatImplementationInformation *iFormatDecodeImplementationInformation = NULL;

    for (TInt i = 0; i < iFormatDecodeImplInfoArray.Count(); i++)
    {
    iFormatDecodeImplementationInformation = iFormatDecodeImplInfoArray[i];

    const TDesC16 &a = iFormatDecodeImplementationInformation->DisplayName();
    const TDesC16 &b = iFormatDecodeImplementationInformation->Supplier();

    if(iFormatDecodeImplementationInformation->SupportsSupplier(_L("Home product")) )
    {
    // plugin registered
    break;
    }
    };

    this loop found all system plugins, except mine. What i'am doing wrong?

    --
    wbr, yuri

    Quote Originally Posted by cdavies View Post
    The resource file needs to go in \resource\plugins and the DLL in \sys\bin.

  4. #4
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: MMF plugins registration problem under 3ed

    OK, I guess the next thing to think about is capabilities.

    What capabilities does your plugin DLL have? Is it enough to be loaded in to the appropriate process?

    On the emulator, check epocwind.out for platsec errors arising from loading your DLL.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  5. #5
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    141

    Re: MMF plugins registration problem under 3ed

    hi cdavies,

    thanks a lot for your help, cause of my problem was in capabilities (ReadUserData). Another capability ProtServ is also required, but when i set it in the mmp file of plugin, phone during installation got the error message (i don't have necessary privileges), but all works fine, this is strange for me.

    --
    wbr, yuri

    Quote Originally Posted by cdavies View Post
    OK, I guess the next thing to think about is capabilities.

    What capabilities does your plugin DLL have? Is it enough to be loaded in to the appropriate process?

    On the emulator, check epocwind.out for platsec errors arising from loading your DLL.

  6. #6
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: MMF plugins registration problem under 3ed

    Protserv is a signed-only capability, you'll need to sign your package with a devcert during testing, and eventually get it Symbian Signed.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

Similar Threads

  1. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36
  2. What is the real problem to receive data calls with Nokia TDMA cel modems?
    By jackal_jr in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2002-12-09, 09:02
  3. What is the real problem to receive data calls with Nokia TDMA cell modem?
    By jackal_jr in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2002-12-04, 16:05
  4. Replies: 0
    Last Post: 2002-12-04, 15:46
  5. PJava runtime problem within Nokia 9210, Hrlp~!
    By Nokia_Archive in forum PersonalJava
    Replies: 1
    Last Post: 2002-05-28, 13:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •