Hi,
I have created a sample apibridge plugin and a widget for invoking that plugin.
It is working fine on emulator. I have created sis using wgzinstaller sample app provided in API Bridge package. But when i try to install it on device i get error ' Required application access not granted'.
I have tried commenting lines of LIB , rsc and DLL transfer, then it gets installed.
Whats the problem with lib and Dll installation ?
Here is the content of PKG file :
; Installation file for Symbian OS 9.x for generic console application
; Installation file for WidgetInstaller EXE
;
; This is an auto-generated PKG file by Carbide.
; This file uses variables specific to Carbide builds that will not work
; on command-line builds. If you want to use this generated PKG file from the
; command-line tools you will need to modify the variables with the appropriate
; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
;
&EN
;
; UID is the exe's UID
;
#{"Sample App"},(UID),1,0,0
;Localised Vendor name
%{"Nokia"}
;Unique Vendor name
:"Nokia"
;Supports S60 3rd&5rd Editions
[0x101F7961], 0, 0, 0, {"S60 3rd Edition"}
[0x102032BE], 0, 0, 0, {"S60 3rd Edition, FP1"}
[0x102752AE], 0, 0, 0, {"S60 3rd Edition, FP2"}
[0x1028315F], 0, 0, 0, {"S60 5th Edition"}
;plugin resource
"$(EPOCROOT)Epoc32\data\z\resource\plugins\TestDllApp_UID.rsc" - "C:\Resource\Plugins\TestDllApp_UID.rsc"
;support lib
"D:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\Test.lib" -"!:\sys\bin\test.lib"
;api bridge plugin DLL
"D:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\TestDll_UID.dll" -"!:\sys\bin\TestDll_UID.dll"
;Embed APIBridge and set Dependency
@"..\content\APIBridge_v1_1.sis", (0x2002373F)
(0x2002373F), 1, 1, 0, {"APIBridge"}
;Add here any additional files or other embedded sis files
;Here goes the widget - Note: The destination directory should be d:\WgzInstaller\
"..\content\MyWidget.wgz" -"d:\WgzInstaller\MyWidget.wgz"
;Installer files
"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\WgzInstaller.exe" -"D:\sys\bin\WgzInstaller.exe", FR, RI






