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"

Reply With Quote

