Build a Windows Mobile 6 Chinese development environment and a Chinese testing environment

Source: Internet
Author: User

The following section describes how to develop SQL Server 2005 compact edition.ProgramThe software environment used:

 

Reference content is as follows:
· Windows XP SP2
· Visual maxcompute 2005
· Windows Mobile 6.0 professional SDK
· Microsoft ActiveSync 4.5
· Internet Explorer 6.0
· IIS
· SQL Server 2005

 

In the previous section of this topic, we mainly introduce how to use ADO on Windows Mobile devices. SQL Server 2005 compact edition. Therefore, we do not need to consider data synchronization between SQL Server 2005 compact edition and SQL Server 2005. Therefore, SQL Server 2005 and IIS can be installed without installation. When combined replication and remote data access technology are used, I will introduce in detail the configuration process required for data synchronization between SQL Server 2005 compact edition and SQL Server 2005.

Configuration process of smart Device Development Environment

Now let's introduce the basic conditions for developing SQL Server 2005 compact edition mobile device applications! Generally, we use Visual Studio 2005 professional and later to develop smart device programs (not supported currently by Visual Studio 2005 express ). During Visual Studio 2005 installation, you only need to select the "smart device programmable technology" single region in Figure 1. After installation, you can use Visual C # for development and hosting.CodeThe smart device program.

Figure 1 select "smart device programmable technology"

When developing smart device programs for specific platforms, we often need to install the corresponding SDK (software development kit) in advance ). For example, to develop an application for Windows Mobile 6.0, you must first install the Windows Mobile 6 SDK. Otherwise, Visual Studio 2005 will not use the Windows Mobile 6 smart device development option. Therefore, after Visual Studio 2005 is installed, We need to install the ActiveSync software so that we can continue to complete the SDK installation for a specific platform. We hope you will pay attention to this order.

ActiveSync supports both PPC and Microsoft smartphone, which can be used to conveniently synchronize data between PCs and PPC or smartphones. ActiveSync not only synchronizes files, emails, and schedules, but also has many additional features such as synchronizing SMS. In addition, users of Windows Mobile devices can access the Internet by connecting to a PC. ActiveSync is a bridge between PCs and mobile devices.

Now the latest ActiveSync version is 4.5, the Chinese version of the software can be downloaded at this link: http://download.microsoft.com/download/7/e/c/7ecbd388-7fb5-4e3e-b57f-12eaf7eb6136/setup.msi

After ActiveSync is installed, you will be prompted to restart the computer to complete the corresponding settings. ActiveSync interface 2 is shown below:

Figure 2 ActiveSync 4.5 Simplified Chinese version

As mentioned above, when we need to develop a Windows Mobile Application on a specific platform, we need to install the corresponding SDK. In this topic, Windows Mobile 6.0 will be used as the development platform, because the ROM of Windows Mobile 6.0 has been built in. NET Compact Framework 2.0 SP1 and SQL Server 2005 compact edition. In addition, in recent months, more and more products in the Chinese market have adopted the Windows Mobile 6.0 system, I believe that Windows Mobile 6.0 will not take long to replace windows mobile 5.0 and become the mainstream operating system. Of course, all programs in this topic can run on Windows Mobile 5.0 without any modifications. This is because Windows Mobile 6.0 and Windows Mobile 5.0 are both based on Windows CE 5.0, but Windows Mobile 6.0 adds some new features, such as the Vista style, on the basis of the original 5.0.

The latest SDK version of Windows Mobile 6.0 can contain two versions: one is the professional version developed for Pocket PC and Pocket PC phone edition, and the other is the standard version developed for smartphone. In this topic, we mainly develop the Pocket PC phone edition platform. Compared with the Pocket PC, it has the call function, in addition, the hardware performance is much higher than that of smartphone, so you can install Windows Mobile 6.0 professional SDK under normal conditions.

Windows Mobile 6.0 professional SDK: http://download.microsoft.com/download/f/2/3/f232f773-7edc-4300-be07-d3b76a5b3a91/Windows Mobile 6 Professional SDK refresh. MSI

The Windows Mobile 6.0 standard SDK is as follows:
Http://download.microsoft.com/download/f/2/3/f232f773-7edc-4300-be07-d3b76a5b3a91/Windows Mobile 6 standard SDK refresh. MSI

After the Windows Mobile 6.0 professional SDK is installed, you can download a logistics system similar to "start"-"All Programs"-"Windows Mobile 6 SDK"-"line of business EXTRAS"-"mobile line of business solution accelerator "mobile Industry Solutions, I will analyze and explain the project in detail at the end of this topic. Some functional modules of the mobile industry solution are shown in Figure 3:

Figure 3 logon module of "mobile line of business solution accelerator" and creation order Module

You can also download the sample code for "mobile line of business solution accelerator" at this link: http://download.microsoft.com/download/7/e/6/7e635836-bf36-436b-b8cc-0b16c74ba9b7/MobileLineofBusinessSoluTionaccelerator. MSI

By default, the Windows Mobile 6.0 professional SDK automatically installs an English-language device Simulator for Windows Mobile 6.0, and a Chinese-language device simulator needs to be downloaded separately for installation, windows Mobile 6.0 simulator 4.

Http://download.microsoft.com/download/0/1/2/012bfbba-9fe5-4e68-86c9-d434446d97dd/0804/Windows Mobile 6 Professional images (CHS). MSI

Windows Mobile 6 standard Chinese Image: http://download.microsoft.com/download/0/1/2/012bfbba-9fe5-4e68-86c9-d434446d97dd/0804/Windows Mobile 6 standard images (CHS). MSI

 

After the Windows Mobile 6.0 SDK is installed, we can use Visual Studio 2005 to develop a smart device program for Windows Mobile 6.0. 5. In the "smart devices" column, we will find that the "Windows Mobile 6 Professional" option is added, and with the template on the right, we can create five different types of projects.


Figure 5 create a Windows Mobile 2005 smart device program in Visual Studio 6.0

Next we will install the SQL Server 2005 compact edition SDK, which contains the SQL Server 2005 compact edition runtime for developing and deploying applications on the desktop (which must be installed ), for mobile devices of different types of processors, their corresponding SQL Server 2005 compact edition component installation packages are also different. In addition, the SDK also contains the help document for SQL Server 2005 compact edition, which is probably the only authoritative document to learn about SQL Server 2005 compact edition.

At the current writing stage, the download page of the SQL Server 2005 compact edition SDK is still inaccessible, which lasted about half a year. Below I will provide SQL Server 2005 compact edition SDK directly:

SQL Server 2005 compact edition SDK (http://download.microsoft.com/download/0/9/4/094d27fe-8d7f-4b0b-8130-555ed2c8b366/SSCE31SDK-CHS.msi)

SQL Server 2005 compact edition SDK English: http://download.microsoft.com/download/e/5/ B /e5b19eb6-4141-4dba-a1fb-e95693c1538f/SSCE31SDK-ENU.msi

After the SQL Server 2005 compact edition SDK is installed, you can find a file named SQLServerCE31-zh-CHS.msi IN THE \ v3.1 \ SDK \ bin \ Desktop subdirectory of its installation directory, this file is used to develop and deploy applications on the desktop at the SQL Server 2005 compact edition runtime. Because the smart device hosting program that uses SQL Server 2005 compact edition must reference "system. data. sqlserverce "namespace, which is created by" system. data. sqlserverce. resources. DLL file. Therefore, you must install SQL Server 2005 compact edition Runtime on your computer.

The SSCE31BOL-CHS.msi file in the v3.1 \ SDK \ docs \ ZH-CHS subfolder is the help document for SQL Server 2005 compact edition, which is very detailed and therefore recommended for installation. The "\ v3.1 \ SDK \ bin \ wce500" sub-folder contains the SQL Server 2005 compact edition component installation package for different types of processors.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.