SmartPhone Development Diary - Resource Tool Installation

xiaoxiao2021-03-06  39

Developing a SmartPhone app, we can use Embedded Visual C or Visual Studio .NET 2003. Different, Embedded Visual C tends to build an application with the original API of the Windows CE platform, while Visual Studio .NET 2003 is using the .NET Compact Framework to develop a program that runs on a virtual machine. For the consideration of efficiency and memory and flexibility, I tend to use C . Using C development smartphone development environment installation process is roughly as follows:. 1, eMbedded Visual C 4.02 eMbedded Visual C 4.0 SP2 3. SDK for Windows Mobile ™ 2003-based Smartphones 4. Localized Emulation Images for Windows Mobile ™ 2003-based Smartphones 5. ActiveSync 3.7.1 6. Emuasconfig.msi (requires .NET Framework support, if you do not need to install .NET Framework in the system if you don't have Visual Studio .NET 2003) 7. WindowsMobilePowerToys.msi (Don't forget ActiveSync Remote Display, it can Display the screen in the real device on the desktop and make limited operations)

It is necessary to pay attention to the installation of these tools: 1. Do not reverse 1-4 installation order, otherwise the EVC cannot connect properly using the SMARTPHONE2003's SDK. It is best to select all options when installing EVC. The order in which these tools is deleted is 4-1.2. If you reinstall the EVC, you may miss the Standard SDK for Windows CE.NET. I miss it. You will not select the CPU type for the developed program. Smartphone SDK only provides both Emulator and ARM type CPU. Standard SDK for Windows CE.NET installer should be in the SDK directory of the EVC installation disk. When you install Standard SDK, you can select the CPU type to be supported. 3. Localized Emulation Images for Windows MobileTM 2003-Based Smartphones, if it develops a Simplified Chinese program, it should be Smartphone 2003 SDK Chinese Simplified Emulation Images.msi. It allows your simulator to display Chinese capabilities. After installation, you need to make some settings in the EVC environment, let your development environment call to support Chinese emulator images. The setting steps are as follows: Open Tools-> Configure Platform Manager ... in TreeView, select Smartphone 2003 (if you have an SDK for Windows MobileTM 2003-Based Smartphone), click Add Device, enter the device name Such as: "CHS_SMARTPHONE 2003 Emulator". Click Properties ... Enter the Device Properties dialog box, select TCP / IP Transport for Windows CE in the Transport column, select Emulator Startup Server in the Startup column, click the Configure ... button on the right side of the Startup column ... button Enter the Emulator Configuration Settings dialog box, select Chs Smartphone 2003 (Virtual Radio) under the device-> Image column, other remain default, select OK, return to the Device Properties interface, select Test to test whether your settings are working properly. The simulator that supports Chinese can be selected in the WCE Configuration Bar of the EVC environment after proper settings. 4. If you still want to call the Chinese simulator in the desktop environment, you have to work some settings. After installing the SmartPhone 2003 SDK, you can call the English SMARTPHONE simulator in the menu. The image file is transmitted to the simulator program in the form of parameters. We can copy this file to the directory with Chinese simulator images, such as ... / ... / windows celys / wce420 / smartphone 2003 / chs, will change / SKIN one item to "... /. ../Windows celys / wce420 / smartphone 2003 / chs / smartphone_emulator_skin.xml Here you can also modify parameters such as emulator memory size. After the deployment, add this file to the shortcut to the start menu, you can start a Chinese simulator from the desktop.

(How do I have a menu or English? Oh, installed the Visual Studio .NET 2003 Chinese version, there is a Chinese simulator program) 5. After installing ActiveSync 3.7.1, connect your SmartPhone device to see what to do? The settings here are not mentioned, it is easy to get it. 6. Emuasconfig.msi This program is used to connect ActiveSync to the emulator. The installed program is called Emuas.exe, run it. (If you have Visual Studio .NET 2003, you can find it, Connect Emulator with ActiveSync, select the target simulator, click Connect, in the Tools menu of the development environment. If you are lucky, ActiveSync will react, after starting the simulator, as connected to the real device. The biggest publicity of this tool is the directory structure that can be accessed in my computer-> mobile device, and you can use your simulator, copy file, install delete programs like real devices, and so on if you use Visual Studio .NET 2003 develops a SmartPhone program, you can save 1-2 steps, and Visual Studio .NET 2003 has installed Standard SDK for Windows Ce.net. You can discover and configure your simulator in the tool -> option -> Device Tools -> device column. No longer.

Transfer from: http://www.blogchina.com/new/member/_÷ѩ

转载请注明原文地址:https://www.9cbs.com/read-78627.html

New Post(0)