Taigoo 发表于 August 25, 2008 3:30 pm
版权信息 :严禁转载, 若想推荐或收藏，请用链接的形式.
周末写了一篇文章，名叫Configuring BES to Wireless PUSH Application to Blackberry Handset，全英文的，在这里附上，不提供中文版本。你要是搞BB得，相信这点英文没有问题吧。
Configuring BES to Wireless PUSH Application to Blackberry Handset
Written by Taigoo Zhang
You can configure BES to wirelessly PUSH application to your blackberry devices.
l Blackberry Enterprise Server (BES) 4.0 or later
l Blackberry device
l Email platform (Microsoft Exchange)
Important: The blackberry enterprise server checks for the installed applications and applications requiring every 4 hours in production. To adjust this time, please see the section how to adjust polling interval.
This article includes 2 parts:
1. Configure the BES
2. How to adjust polling interval.
Configure the BES
You can follow the below steps to configure BES.
Step 1: Prepare for the application.
Please see image below, it shows there are 2 files to install.
Step 2: saving and sharing the files.
Configure the host computer from which the your application will be shared.
1. On the host computer, go to C:\Program Files\Common Files\Research In Motion and create a folder called Shared.
2. In the Shared folder, create another folder called Applications.
4. Place your application files to this folder.
5. From a command prompt, type cd C:\Program Files\Common Files\Research In Motion\Apploader and press ENTER.
6. Type loader.exe /index and press ENTER.
7. You should see the following files appear once you’ve run this command
3. Share the C:\Program Files\Common Files\Research In Motion directory
4. Right click on this folder, Select Properties, Then the Sharing tab. Click the New Share button
Step 3 Allow your IT policy to download the update
Note: Many BlackBerry Enterprise Servers are configured to restrict specific traffic, enforce internal security measures, and apply certain BlackBerry IT policies.
To allow BlackBerry devices to initiate the download of application themselves, you may need to temporarily set the Disallow Third Party Application Downloads IT policy to False.
To edit an IT policy:
1. Open up the BlackBerry Manager.
2. Go to the Global Tab.
3. Click Edit Properties.
4. Highlight IT Policy.
5. Click the button with three dots to expand this.
6. From here you will be able to select an IT policy and edit it.
7. Under the Security Policy Group, set Disallow Third Party Application Downloads IT policy to False.
If no restrictions are being enforced in your environment, you do not need to alter this IT policy. This IT policy does not influence the use of software configurations to push the application. Allow your BlackBerry devices to download third-party applications and access external servers for at least 24 hours after the last group of BlackBerry devices is configured to receive the update. Some BlackBerry devices may not receive the update within 24 hours (for example, if they are turned off, out of network coverage, or otherwise unable to connect to the download servers). You can allow these BlackBerry devices access to third-party downloads until they are updated, or you can update them manually.
Follow the steps that correspond to your environment to create a software configuration, create an application control policy, and distribute the application files.
BlackBerry Enterprise Server software version 4.0 for Microsoft Exchange
1. In the BlackBerry Handheld Configuration Tool, select the Configurations tab.
2. Click Add New Configuration.
3. Type a Configuration Name and a Configuration Description in the corresponding fields, and then click Change.
4. In the Handheld Software Share Location window, specify the UNC of the shared directory containing the application using the following format:
\\<host_computer_name>\Research In Motion
Note: You cannot enter a local path (for example, C:\Program Files\Common Files\Research in Motion).
5. Click OK. A list of BlackBerry Device Software and applications appears.
6. Expand Application Software, and then select the TimezoneOtaPatcher(Or Delivery) check box.
7. From the drop-down menu in the Delivery column, select Wireless.
8. Click Policies, and then select New.
9. Type a Policy Name.
10. Set the External Network Connections field to Allowed, set the Disposition field to Required, and click OK.
11. Click OK again.
12. From the drop-down list in the Policy column, select the new Policy Name you just created.
13. Click OK to save the configuration.
14. In the Explorer view of the BlackBerry Handheld Configuration Tool, select Handhelds to display the BlackBerry device user list.
15. Select the BlackBerry device users who are to receive the application application. Hold the Ctrl key to select multiple users.
16. In the Tasks menu, expand Common, and then select Assign Software Configuration.
17. Select the Configuration Name you typed in step 3 from the list, then click OK.
How to Adjust Polling Interval.
1. Open the registry with clicking “Start”->”Run”->”regedit”
2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\BlackBerry IT Admin Server.
3. If the AppProvisioningPollInterval DWORD value exists, proceed to step 7.
4. If the AppProvisioningPollInterval DWORD value does not exist, right-click BlackBerry IT Admin Server, then click New > DWORD Value.
5. Type AppProvisioningPollInterval as the name, and then press ENTER.
6. Double-click the AppProvisioningPollInterval DWORD Value.
7. In the Value data field, type the required interval (in minutes), then click OK. For example, a value of 10, will set the polling interval to 10 minutes.
8. Close the Registry Editor.
9. Restart the BlackBerry Policy Service. Also remember that some software pushes require configuration from the device itself as well.
This article applies to:
- All blackberry devices
- BES 4.0 or later
- PUSH solution
- BlackBerry 应用程序开发者指南 第一卷：基础–第10章 创建Client/Server Push应用程序
- 如何让BB simulator可以收外部的mail
- BlackBerry 应用程序开发者指南 第一卷：基础–附录:.alx文件的格式