×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Apr 2006
    Location
    India
    Posts
    383

    Unhappy Browser Plugin n ECOM

    Hi All!
    I have coded browser plugin. But its not detected by ECOM framework.
    I have already referred NPBitmap example.

    Following are the .mmp and .rss for registry info
    ==========================================================

    --MMP--
    TARGET BrowserPlugin.dll
    TARGETTYPE PLUGIN
    UID 0x10009D8D 0xA000030C
    TARGETPATH \apps\plugin
    VENDORID 0
    CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment DRM NetworkControl
    /* [+] */ USERINCLUDE ..\data
    USERINCLUDE ..\src
    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \epoc32\include\libc
    SYSTEMINCLUDE \epoc32\include\ecom
    SYSTEMINCLUDE ..\inc

    SOURCEPATH ..\src
    SOURCE logfile.cpp
    SOURCE BrowserControl.cpp
    SOURCE E32NpDllEntryPoint.cpp
    SOURCE BrowserInterface.cpp
    SOURCE BrowserPlugin.cpp

    LIBRARY CHARCONV.LIB
    LIBRARY HAL.LIB
    LIBRARY efsrv.lib
    LIBRARY fbscli.lib
    LIBRARY cone.lib
    LIBRARY estlib.lib
    LIBRARY ecom.lib
    LIBRARY euser.lib

    SOURCEPATH ..\data
    START RESOURCE A000030C.rss
    UID 0x101F747D
    TARGET BrowserPlugin.rsc
    TARGETPATH \resource\plugins
    END
    --------

    --A000030C.rss--
    RESOURCE REGISTRY_INFO theInfo
    {
    dll_uid = 0xA000030C; // should match the name of the file.
    // 3-d Uid of associeted plugin dll (declared in the dll mmp file)

    interfaces=
    {
    INTERFACE_INFO
    {
    interface_uid = 0x101F8810; // identifies plugin type (used by ECom)
    implementations =
    {
    IMPLEMENTATION_INFO
    {
    implementation_uid = 0xA000030D; // specify specific implementation (must
    // match an implementation entry in the dll
    version_no = 1;
    display_name = "BrowserPlugin.dll;RSS Plug-in"; // file name; plugin's name
    default_data = "text/html;html";
    opaque_data = "RSS plug-in for Podcasting"; // plugin's description
    }
    };
    }
    };
    }
    ==========================================================

    I checked this post http://discussion.forum.nokia.com/fo...ght=0x101F747D.
    As per that, there is something UID 0x101F747D. I also included it in .mmp
    As per SDK UID3 is required with ECOM plugin.
    What I am missing??

    But still my plugin is not getting registered :-(

    I have checed it by ListImplementationL().

    What may be the problem??

    I am using S60_3rd edition

    Experts plz guide.

    Thanks.
    Regards,
    Shilpa Kulkarni

  2. #2
    Regular Contributor
    Join Date
    Apr 2006
    Location
    India
    Posts
    383

    Re: Browser Plugin n ECOM

    Hi All!

    Now my browser plugin is registered to ECOM.
    I would like to know how exactly the plugin is to be tested with browser??
    Are there any special methods for it?
    my MIME description is text/xml or text/html.
    Experts plz guide.
    Thanks.
    Regards,
    Shilpa Kulkarni

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    13

    Re: Browser Plugin n ECOM

    Hi Shilpa,

    I am just starting to learn about S60 browser plugins. I'm not sure where to start.

    I have the S60_3rd_FP1 SDK but I cannot find this NPBitmap sample application. Could you please point me to where I can find it? Are there any other sample plugins with src code available?

    Thanks,
    Cyrus

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Browser Plugin n ECOM

    C:\Symbian\9.2\S60_3rd_FP1\S60Ex\NPBitmap

Similar Threads

  1. Ecom Plugin Registration Problem
    By silentsmirk in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-09-22, 12:10
  2. Application embedding using Ecom plugin (S60 3rd MR)
    By akrapacs in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-09-20, 16:14
  3. Clearing ECom plugin registry
    By storsjo in forum Symbian
    Replies: 4
    Last Post: 2006-06-30, 22:39
  4. SIP ECOM plugin not working on Nokia 6600?
    By marcel_kok555 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-01-25, 10:58

Posting Permissions

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