08-20-2008 07:15 AM
Is there any way to find out which Blackberry device belongs to Which BES server? I m developing one application through which, i want to validate email address by sending IMEI number of a device.
Is it possible? Tell me the way...
Solved! Go to Solution.
08-20-2008 07:34 AM
The only way to find out what BlackBerry Enterprise Server (BES) a device belongs to is to read out the UID field from the Desktop (CMIME) service book. The UID is the unique identifier which the BES uses (it is the SRP ID of the BES).
For getting the UID you could use the net.rim.device.api.servicebook.ServiceBook.SOURCE_
08-20-2008 08:11 AM
Thanks For your quick reply.
Is it possible to communicate with Blackberry Enterprise Server programmatically?
08-20-2008 08:15 AM
The BES acts as a gateway, so if you use the Connector.open call then the request (e.g. browsing) will break out to the IP network at the BES meaning that you can access all intranet resources securely without establishing VPN tunnels, etc.
You can't communicate however directly with the BES' admin functions if that's what you are trying to do, there might be some ways around that by using additional (server-side) APIs or tools like for example the BlackBerry Resource Kit.
08-20-2008 08:27 AM
You could use the server-side push in order to send data/content to the device, this could be send to the browser application (e.g. browser channel push) or indeed to a custom developed Java application which listens on a particular port for incoming data. Both require your server-side application to initiate an HTTP POST request in order to send data to the device.
Please see the push example application which comes as part of the BlackBerry JDE for sample code.