|
查看: 1703|回复: 7
|
j2me security domain的问题
[复制链接]
|
|
|
|
用wtk做好的application放进电话install了。但是不能跑因为security domain的问题。要如何将电话的security domain从untrust换去trusted? |
|
|
|
|
|
|
|
|
|
|
发表于 17-3-2009 04:39 PM
|
显示全部楼层
原帖由 choong218 于 17-3-2009 04:05 PM 发表 
用wtk做好的application放进电话install了。但是不能跑因为security domain的问题。要如何将电话的security domain从untrust换去trusted?
你可以看看这网页的Understanding Protection Domains部分, 有讲解protection domains的部分。
http://developers.sun.com/mobility/midp/articles/permissions/
可以在wtk compiling 前设定你要的security setting 就可以了 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 17-3-2009 05:10 PM
|
显示全部楼层
回复 2# boonboon80 的帖子
|
我试过几次了。在emulator就好好的。但是install进去电话后就不能跑了。一直都说untrusted domain。你有试过放进去电话吗? |
|
|
|
|
|
|
|
|
|
|
发表于 17-3-2009 06:30 PM
|
显示全部楼层
原帖由 choong218 于 17-3-2009 05:10 PM 发表 
我试过几次了。在emulator就好好的。但是install进去电话后就不能跑了。一直都说untrusted domain。你有试过放进去电话吗?
如emulator可以跑,电话通常没问题的。你用那个compiler来build你的jar file?在那个电话安装? 你的程式有用到network(socket/httpconnection)? |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 18-3-2009 02:15 PM
|
显示全部楼层
回复 4# boonboon80 的帖子
|
我用的是wireless toolkits 2.5。我没有用network connection。我现在要用的是jsr75,file connection.在emulator没有问题。但是把jar放进去电话后就一直有security domain的问题。我的电话是motorola A1200。 |
|
|
|
|
|
|
|
|
|
|
发表于 24-3-2009 04:54 PM
|
显示全部楼层
原帖由 choong218 于 18-3-2009 02:15 PM 发表 
我用的是wireless toolkits 2.5。我没有用network connection。我现在要用的是jsr75,file connection.在emulator没有问题。但是把jar放进去电话后就一直有security domain的问题。我的电话是motorola A1200。
对不起,迟了回复。你有在别的电话测试?
在这link发现motorola电话好像需要manufacturer or operator cert signing才可以进行access to file system,别的电话通常只prompt个dialogbox通知你程式需要进入限制的部分。
http://www.nabble.com/Java-ME-File-Browser--td17336027.html |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 17-4-2009 01:13 PM
|
显示全部楼层
回复 6# boonboon80 的帖子
|
你知道怎样去sign certificate吗?在网上找了很多,可是都不行 。 |
|
|
|
|
|
|
|
|
|
|
发表于 13-5-2009 06:29 PM
|
显示全部楼层
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|