permission

http://supportforums.blackberry.com/t5/Java-Development/Setting-permissions-in-listeners/m-p/591562

Problem solved but I consider it a bug of some sort.

If I take the class for setting permissions that I have in the library and put it in the package where the app that uses it is. No changes to the code. It works.

 

I get the same prompts and messages in both cases so there is no difference in what is displayed or what code is executed.When executing from library it says Application Testdriver is asking....  exactly the same way as when I run the class from the same package as Testdriver

 

Only difference is that changes are not saved.

 

If it is by design I should get an error when running from library. If it is not by design its a bug.

 

Anyway. It means I have to put the same code in 4 places. Not smart.

 

 

If everything seems under control, you're just not going fast enough
-Mario Andretti-
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值