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.

inside custom component

Java Development

Reply
Developer
malcolm
Posts: 41
Registered: ‎08-01-2008
My Device: Not Specified
Accepted Solution

What kind of fields / widgets are used in the Application permissions screen?

For the config page of my application I'd like to have various options hidden until needed, and I would like to have this look similar to the permissions screen for a module - ie the one with headings of "Connections" "Interactions" and "User Data" which can then be expanded providing indented fields below. Is there a field / set of fields that already implement this functionality or is it a case of building this myself out of primitives?

 

Thanks.

Please use plain text.
Developer
peter_strange
Posts: 19,602
Registered: ‎07-14-2008
My Device: Not Specified

Re: What kind of fields / widgets are used in the Application permissions screen?

Have a look at TreeField.

 

There is documentation in the Developer Guide and these two KB articles that might be of use:

 

How To - Add a TreeField to a device screen
Article Number: DB-00416

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

 

How To - Use the ServiceRouting API

(not really about TreeFeidl, but seems to be real live working example, that you can plug in and play with)
Article Number: DB-00483

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800441/How_To_...

 

I've never had occasion to use one of these in anger, so sorry, no tips to give you.

Please use plain text.