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

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?



Posts: 19,636
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



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



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