×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    13

    URL handler plugin on device does not work

    I tried to make a URL handler ECom plugin, it works on emulator, so emulator native apps like Message can highlight the scheme we defined besides those standard ones, like:

    mailto:abc@nokia.com
    myscheme:abc@mycompany.com

    but when I install it to device, it simply does not work, seems the system related components do not even recognize it from the plugin's resource file, as those native apps just bypass the scheme we defined. So could someone here help ? Thanks a lot in advance.


    The resource file I tried:

    RESOURCE REGISTRY_INFO r_registry
    {
    dll_uid = 0xA000e6e6;
    interfaces =
    {
    INTERFACE_INFO
    {
    interface_uid = 0x101F8534;
    implementations =
    {
    IMPLEMENTATION_INFO
    {
    implementation_uid = 0xA000e6e5;
    version_no = 1;
    display_name = "URL handler for myscheme: scheme";
    default_data = "myscheme";
    opaque_data = "";
    }
    };
    }
    };

    The mmp file:

    CAPABILITY LocalServices NetworkServices ReadUserData WriteUserData SwEvent ReadDeviceData
    WriteDeviceData NetworkControl
    targettype plugin
    uid 0X10009D8D 0xA000e6e6
    VENDORID 0


    The pkg file:

    "C:\Symbian\9.1\S60_3rd_MR\Epoc32\data\z\resource\plugins\myscheme.rsc" -
    "!:\resource\plugins\myscheme.rsc"
    "C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\gcce\urel\myscheme.dll" -
    "!:\sys\bin\myscheme.dll"

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: URL handler plugin on device does not work

    one reason could be the 0xA000e6e6 UID value, you could try changing it to a real one that you are using with the release. Also try adding ProtServ capability, and do check whether epocwind.out does have mentions of the missing capabilities.

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

    Thumbs up Re: URL handler plugin on device does not work

    Thank you very much, it helps!

  4. #4
    Registered User
    Join Date
    May 2007
    Posts
    13

    Re: URL handler plugin on device does not work

    Dear symbianyucca, and now, I met another problem: If I use protected range UIDs for the plugin(0x2000xxxx), it won't work on my E51's Notepad app(Notes) and Calendar app. That also happens with unprotected UIDs like 0xE000xxxx. But if I use 0xA000xxxx as above, it can work in Notes app, but not Calendar app. The reason why I tried 0xA000xxxx is that, under C:\Symbian\9.1\S60_3rd_MR\S60Ex, there is a plugin example called NPBitmap, its UIDs are like 0xA0000xxxx.

    And the current Capabilities as:
    CAPABILITY LocalServices NetworkServices ReadUserData WriteUserData SwEvent ReadDeviceData WriteDeviceData NetworkControl ProtServ UserEnvironment Location DRM

    So please help if possible.

    Thanks a lot.

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: URL handler plugin on device does not work

    I have no clue on that, simply because it should not happen. Only reasonable reason it to not work with some apps would be mismatches with capabilities, so check what capabilities different processes are using, and make sure you have them all defined for yours.

  6. #6
    Registered User
    Join Date
    May 2007
    Posts
    13

    Re: URL handler plugin on device does not work

    Thanks, but is there a way that we can check other apps' capabilities, especially these apps are on device ?

    The fact is on E51(29-09-2007 RM-244), Calendar does not support the plugin I am trying, but on E61i(15-02-07 RM-227), Calendar supports it.

  7. #7
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: URL handler plugin on device does not work

    sure you can, just run them and then check from the process what kind of capabilities it is having. For a easy tool, check my Y-Tasks stuff from my home site.

  8. #8
    Registered User
    Join Date
    May 2007
    Posts
    13

    Re: URL handler plugin on device does not work

    Much appreciated!

    With comparing Calendar on different devices, the reason should be the plugin lacks of DRM. So I have one problem remained now: UIDs. When used protected ones like 0x2000xxxx or unprotectd ones like 0xE000xxxx, it won't work on device, only the ones like 0xA0000xxxxx.

  9. #9
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: URL handler plugin on device does not work

    you can get it fully signed with protected UID only, so there is really no option on choosing.

Similar Threads

  1. Replies: 2
    Last Post: 2008-09-30, 11:01
  2. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  3. Does th eP2P Example work with any othere BT Device?
    By nintel in forum Bluetooth Technology
    Replies: 1
    Last Post: 2002-12-08, 16:44
  4. HttpPoster don't work in real 7650 device
    By looky in forum Mobile Java General
    Replies: 2
    Last Post: 2002-11-07, 12:28
  5. Replies: 1
    Last Post: 2002-05-13, 16:40

Posting Permissions

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