Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
10-06-2009 05:47 AM
10-06-2009 05:56 AM
I have not used the Desktop Manager to install my application as I have said many times in my posts. I have used the Blackberry Manager (server administration utility for BES) to wirelessly deploy the application. The Desktop Manager (although I may be mistaken) refers to the package the users can install on their own PC to deploy applications and files to their personal Blackberry.
So back to my question,
So how do I add resource files (custom properties like _whats the ip of the server_) that can be updated at deployment time?
10-06-2009 05:57 AM
10-06-2009 06:05 AM
This is not a viable solution (have the user update the server ip.......)
I am new to Blackberry development (circa 5 months) and fairly new to these forums so, just to establish context, are the people replying actually working for RIM?
The reason I ask, I just cannot believe that RIM would create a BB software framework that did not allow for deployment time updateable resource files. This is a basic necessity for any application (internationalisation, program specific variables). Are you BB developers recompiling/resigning every time you need to change "Debug" to "True"?
What does RIM recommend we do for resource files that dont need recompile/resign?
10-06-2009 07:03 AM
10-06-2009 07:14 AM
10-06-2009 07:40 AM
And for those who stumbled in here searching for an answer:
1) Goto your BES Manager (admin console)
2) Click the Blackberry Domain node in your treeview
3) Click "EditProperties in the main pane
4) Click IT Policy in your left pane
5) Find the It policy your users of the application is using and click Properties
6) Click User Defined Items
7) Click IT Policy template "..."
8) Click New
9) Add your variable based on its type (mine was a String type)
10) Click Ok Ok Ok
Add this code, and it will retrieve your value. Remember you have to sign your code using the RIM SignatureTool.jar.
public class TestScreen extends MainScreen
LabelField applicationTitle = new LabelField("Test Custom IT Policy Property");
RichTextField textField = new RichTextField(GetApplicationProperty());
public String GetApplicationProperty()
String ip = ITPolicy.getString("ServerIp");