Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
daver69
Posts: 19
Registered: ‎12-23-2009

CodeModuleGroup.FLAG_HIDDEN on 5.0

Does this require a 4th key in order to do this on os 5.0?

 

 cmg[idx].setFlag(CodeModuleGroup.FLAG_HIDDEN, true);

 

This keeps on throwing a ControlledAccessException but I remember seeing somewhere once a message saying it required another key for me signed but I've already signed the app with the 3 keys.

 

Or is this something that is not available any longer in 5.0?

Please use plain text.
New Developer
daver69
Posts: 19
Registered: ‎12-23-2009

Re: CodeModuleGroup.FLAG_HIDDEN on 5.0

Does anyone have an answer to this?

 

Version 5.0 api says setFlag throws ControlledAccessException and requires some RRI key. What is this?

 

ControlledAccessException - if an attempt is made to modify the REQUIRED or HIDDEN flags and the calling module has not been signed by RRI.key.

Please use plain text.
Contributor
bitpanda
Posts: 17
Registered: ‎08-02-2010

Re: CodeModuleGroup.FLAG_HIDDEN on 5.0

[ Edited ]

What do you mean the 4th key and the 3 keys?

 

I have try that on simulator of JDE 4.7,but it failed.

 

setFlag(CodeModuleGroup.FLAG_REQUIRED, true) did work,but setFlag(CodeModuleGroup.FLAG_HIDDEN, true) didn't. Why?

 

Could you help me?

[edited for privacy] THX.

 

Tinus.

Please use plain text.