There are many things worth learning about BlackBerry development. This article focuses on the application of the BlackBerry Development Platform: We hope this article will help you gain some insights into how to set up a BlackBerry MDS activation server.
BlackBerry development platform application: how to set up a BlackBerry MDS activation Server
1. First download two required files:
- <1>BlackBerry_Email_MDS_4.1.0-4
-
- <2>jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe
2. Install the JDKJava development kit, including the JREJAVA runtime environment ))
3. Install the MDS simulator and use the default path during installation.
Example: C: \ ProgramFiles \ ResearchInMotion \ BlackBerryEmailandMDSServicesSimulators4.1.0 \ MDS and C: \ ProgramFiles \ Java \ jre6
4. The next problem that solved the DOS window flash was to set the environment variable:
Right-click the run. bat file, where JAVA_HOME is the environment variable we want to set and point it to our JRE directory C: \ ProgramFiles \ Java \ jre6). If it is in another directory, set it on your own.
5. After setting environment variables in BlackBerry development, % JAVA_HOME % \ bin \ java = C: \ ProgramFiles \ Java \ jre6 \ bin \ java in run. bat
6. How to Set environment variables: Right-click "my computer"-"properties"-"advanced"-"environment variables"
In the administrator environment variables and system environment variables, click "new". The variable name is JAVA_HOME variable value: C: \ ProgramFiles \ Java \ jre6 (other paths are set by yourself), and then run. bat.
7. Use TcpView to view Network Connections
8. Check that ports 8080 and 19781 are enabled.
9. BlackBerry development test: Enter http: // localhost: 8080 in the browser to open the Server Page.
10. Activate the service by using an Internet IP address.