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

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.

BlackBerry Development Advisor
Posts: 15,887
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Configuration Information ...

Quote from the previous forum:


Posts: 47
From: Columbia, MD
Registered: Apr, 2008

Configuration Information ...
Posted: Jun 30, 2008 8:43 AM
Hello Everyone,

Can someone throws light on- How to obtain vaious type of configuration information programmatically ?

For instance, if I want to obtain BlueTooth and GPS settings or WAP/Data connection settings or Calender/mail synchronization settings, then where should I find it ?

Service Books ?

Any Idea would be helpful.


*(Vipul)() ;



Posts: 47
From: Columbia, MD
Registered: Apr, 2008

Re: Configuration Information ...
Posted: Jul 9, 2008 10:46 AM
Anyone ?



Posts: 2,247
Registered: Jul, 2005

Re: Configuration Information ...
Posted: Jul 9, 2008 7:17 PM
Can you provide some specific examples of the settings you are trying to read?

Mark Sohm
BlackBerry Developer Journal



Posts: 47
From: Columbia, MD
Registered: Apr, 2008

Re: Configuration Information ...
Posted: Jul 15, 2008 5:35 AM

For example, if I want to determine-
1. [WIFI] Whats the IP of this handheld
2. [WIFI] Whats the IP of its default Gateway
3. [SYNC] PIM Items synchronization settings, (e.g. when, how many, count, Sync triggers at etc.)
4. [WIFI] What is defined behavior to connect when Multiple Wi-Fi networks are found (AUTO CONNECT/MANUAL)
5. [MAIL] What the Mail server name/IP
6. [MAIL] Whats the user Id in use
7. [MAIL] What the type of server (EXCHANGE/DOMINO)
8. [BLUE_TH] What Bluetooth setting (Off/Always On)
9. [BLUE_TH] Active Bluetooth Pairing etc.

Any other setting, for example useful settings like- Data Connection Settings, Mobile Network Settings, GPS Settings, Message Sync settings etc.

Please let me know, if I am expecting just too much with the device API .... :-)

There isn't an API available to obtain most of the information you are looking for.  You can get some information about the WiFi connection by using the WLANInfo class.  The mail server information is not stored on the BlackBerry, so that is not accessible.  The BluetoothSerialPort and BluetoothSerialPortInfo classes can be used to find information about paired devices.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Posts: 81
Registered: ‎07-16-2008
My Device: Curve - 8320
My Carrier: AirTel

Re: Configuration Information ...

Thanks Mark for making the scene clear. I will live with WLANInfo and BluetoothSerialPortInfo classes, since for others there is No option.


*(Vipul)() ;