Fepexample真机调试~~
源起:
FORUM nokia 提供Symbian 3rd的源代码:
http://www.forum.nokia.com/info/sw.nokia.com/id/43ce27a1-ade6-4dbc-9450-932367982844/S60_Platform_FEP_Example_v2_0_en.zip.html
Carbide C++编译:
常见错误:修改FepExample_S60_3rd_ed.pkg
加入正确路径:
"\Symbian\9.2\S60_3rd_FP1\Epoc32\release\gcce\urel\FepExample.dll" -"!:\sys\bin\zhi6.dll"
"\Symbian\9.2\S60_3rd_FP1\Epoc32\Data\z\resource\plugins\FepExample.rsc" -"!:\Resource\Plugins\zhi6.rsc"
按照Developer Certificate证书在symbiansinged生成sisx
但是安装到选择安装目录时出现”未授予所需的程序接入权限”(Required application access not granted)
解决方案:
参考这个仁兄:http://discussion.forum.nokia.com/forum/showthread.php?t=119231
所以我们可以这样做:elftran这个程序:
1.选好:phone release(GCCE),pkg文件不要选
2.这一项最重要:cmd下命令:
C:\Documents and Settings\k>elftran -capabilities LocalServices+Location+Network
Services+PowerMgmt+ProtServ+ReadDeviceData+ReadUserData+SurroundingsDD+SwEvent+T
rustedUI+UserEnvironment+WriteDeviceData+WriteUserData C:\Symbian\9.2\S60_3rd_FP
1\Epoc32\release\gcce\urel\fepexample.dll
ELFTRAN – ELF file preprocessor V02.01 (Build 564)
Copyright (c) 1996-2006 Symbian Software Ltd.
3.再编译生成sis:
直接用carbide c++选pkg来build就OK
再把生成的sis自做签名:
signsis zhi63_071105_FepExample_S60_3rd_ed.sis zhi63_071105_FepExample_S60_3rd_ed.sisx my.cer key.key
上传到手机就OK~~~~不会再报错了….
其他相关文章:
1.symbian S60 v3刷机去掉权限限制:
Goodbye S60 Platform Security, Hello CAPABILITIES!
2.symbian签名绕开Manufacturer capability ,,,
How to grant any capability to self signed applications
3.S60 3rd MMP CAPABILITY的说明,很有意义
link here
4. the FepExample component has to be signed using the Manufacturer Approved Developer Certificate不是必须的,上面的做法就可以做到。。。
没有评论▼