August 2003
Apply: Microsoft® eMbedded Visual Tools 3.0 - 2002 Edition Microsoft® eMbedded Visual C ® 4.0 SP2 Microsoft® Visual Studio® .NET Microsoft®.NET Compact Framework Pocket PC 2002 Pocket PC 2003 Smartphone 2002 Smartphone 2003
Summary: This article mainly introduces tools and support technologies for the development of applications based on Windows PowerEd and Windows Mobile. The text not only lists platforms for various tools, but also provides some development programs and guidelines for choice tools and technologies for various programs. (This article contains some links to English sites.)
table of Contents
Introduction Mobile App Development Tool Tools Comparative Table Development Plan Summary Appendix: Mobile App Development Tools Recommended Installation Order
Introduction
Since 1996, the Microsoft® Windows® CE operating system has been launched, and the Handheld PC 1.0 products will be launched, Microsoft has provided a lot of powerful and growing tools to help developers meet specifics on Windows MobileTM-based platforms. Demand and complete the application task. Currently, Microsoft has launched a variety of tool packages for building applications on Windows Mobile-based Pocket PC and SmartPhone.
This white paper introduces the developer's status quo in the Windows Mobile application development tool and the development prospects of these tools. It helps developers to determine which development tools are best suited for their needs, and what the various tools should be used, and what preparations need to be sent before the mobile application developers need to do before starting the mobile application project. This article also compares the advantages of several tools.
Although there is a variety of mobile development tools, it will continue to increase, but Microsoft's ultimate goal is to create a unified development environment to meet the needs of all mobile applications, including integrating mobile development tools to Microsoft Visual Studio®. Core products in .NET.
Mobile App Development Tool
The following summary describes tools currently available on Windows Mobile-based Pocket PC and Smartphone. When reading the instructions for reading, developers should put these tools to use this machine, hosted or server-side code to consider:
Using native code is to achieve high performance, when you need to directly access hardware or limited resources. Using the hosting code is to develop applications centered on the user interface, this application requires soon as soon as possible or requires a quick development speed. If you want to access the web service easily, you can also use managed code. Using server-side code is to develop applications for multiple devices using an code set, which requires sufficient data bandwidth.
Embedded Visual Tools 3.0
Microsoft Embedded Visual Tools 3.0 provides an integrated development environment for building a mobile application, including the necessary compilers, debugging, and platform documents. Embedded Visual Tools 3.0 includes Microsoft Embedded Visual C ® 3.0 (EVC 3.0) and Embedded Visual Basic® 3.0 (EVB 3.0). Both tools are independent development environments, without having to run any other development environment, such as Microsoft Visual Studio or Visual Studio .NET.
To develop Windows Mobile-based devices, all tools need to use the platform software development kit (SDK) of the target device. Embedded Visual Tools 3.0 2002 includes SDK for all Windows Mobile devices (including Pocket PC 2002 and Smartphone 2002). The SDK of the non-Windows Mobile Series should be obtained from the manufacturer of the device. You can download Embedded Visual Tools 3.0 - 2002 EDITION, 3.0-2002 EMBEDDED Visual Tools 3.0 - 2002 Edition.
For more information on Embedded Visual Tools, see http://msdn.microsoft.com/vstudio/device/embedded/default.asp.
Embedded Visual C 3.0
The Microsoft Embedded Visual C 3.0 development system provides the C compiler of this machine code based on Windows Mobile. If the correct SDK is installed, it can be used to develop applications for all Windows CE 2.11 and 3.0-based devices. The Embedded Visual C debugger works with Wired, Wireless LAN, or base connection with Microsoft ActiveSync®.
In addition, it also provides software emulators that can be used in Pocket PC 2002 and Smartphone 2002 devices. When Pocket PC 2002 is released, Microsoft has introduced a new emulator for Pocket PC 2002 SDK, which is closer to true Windows Mobile-based devices. This new emulator can run a real Windows CE binary file in a virtual PC Shell. SMARTPHONE 2002, Pocket PC 2003 and SMARTPHONE 2003 SDK also use this new emulator.
Embedded Visual C can be used:
Pocket PC or any other Windows Mobile-based driver running on the device This machine runs through the Game API using high-speed graphic game COM server or Microsoft ActiveX® controls.
Embedded Visual Basic 3.0
Embedded Visual Basic 3.0 supports applications written in Visual Basic language, which is explained at runtime. Although most Windows Mobile-based devices have built-in features to run applications built using Embedded Visual Basic, some custom Windows CE-based embedded hardware platforms may not include Embedded Visual Basic runtime. The Pocket PC's Windows Mobile 2003 software does not contain Visual Basic runtime, but you can download from Windows Mobile Developer Downloads.
Embedded Visual Basic is a scripting language instead of a Visual Basic language with all functions. Therefore, many language features provided for desktop systems in Visual Basic 6.0 are not supported in Embedded Visual Basic 3.0. E.g:
By default, all variables are Variant types. Strict types are not supported by Embedded Visual Basic to develop ActiveX controls, but they can integrate several Visual Basic's original controls are not supported, and some attributes Embedded Visual Basic cannot be used Develop applications for SmartPhone based on Windows Mobile 2002. In view of this, in addition, other reasons (including further developing the Visual Basic .NET development group), Embedded Visual Basic technology has gradually been eliminated, and it is replaced by a more powerful Visual Basic .NET language. Microsoft recommends developers to create all new Pocket PC applications using Visual Basic .NET, using Embedded Visual Basic to maintain early versions of applications.
Embedded Visual C 4.0
Microsoft Embedded Visual C 4.0 supports new Windows CE. Net 4.2 devices development, and after installation of Service Pack, supports Windows MobileTM 2003 software for Pocket PC and SmartPhone (previous code name "Ozone"). Embedded Visual C 4.0 is an ideal software that uses this unit code on Windows CE .NET 4.2 for mobile or embedded devices to develop applications. Enhanced features of Embedded Visual C 4.0 include:
Real-time debugging to diagnose unprocessed abnormal C structured exception handling "attached" process to get enhanced process debugging capabilities better integrate with new emulators
You can download Embedded Visual C 4.0, EVC 4.0 Service Pack 2, and SDK for Windows Mobile 2003 software for Pocket PCs from Developer Downloads.
Please download Smartphone 2003 SDK from Windows Mobile 2003-based Smartphones Downloads.
Visual Studio .NET 2003 Smart Device Programmability
Visual Studio .NET SMART Device Programmability (SDP) feature (previously called Smart Device Extensions [SDE] can help developers write mobile applications with Microsoft .NET Compact Framework, enable distributed in the case of connection or disconnection Mobile calculation. Using a large number of libraries provided in .NET Compact Framework, developers write more speeds that can be much faster than using traditional tools.
Using Visual Studio .NET 2003, developers can develop Pocket PC 2002 (if appropriate SDK) and Pocket PC and Smartphone 2003 are developed using the same tools and techniques used in desktop system development. It will be installed .NET Compact Framework, which is designed for devices specifically for resources. Developers can develop mobile and embedded devices using new C # languages or Visual Basic .NET languages. It can also be well used to use XML Web Service or ADO.NET applications.
Visual Studio .NET 2003 can be used to: Using the web service application in a connection or disconnected environment, you must use the Visual Basic .NET or C # development application When you want to use the same tool to do desktop, server And quickly developed mobile applications when programming provides reliable and secure environments that portable to different devices with different CPUs or various Windows versions.
For more information on the Smart Device ProGram Mability feature of Visual Studio .NET, see Smart Device Programmability.
ASP.NET Mobile Controls
ASP.NET Mobile Controls (previously known as Microsoft Mobile Internet Toolkit [Mmit] is a supplement to Smart Device Programmability and .Net Compact Framework. ASP.NET Mobile Controls Send marks to a variety of mobile devices by enabling ASP.NET, thereby extending .NET Compact Framework and Visual Studio .NET builds a function of moving web applications. Using this method, developers can use Visual Studio .NET to build a mobile web application that automatically adjusts their page rendering to accommodate various devices, such as enabling Internet mobile phones, pagers, and PDAs (such as Pocket PC, etc. ). It also simplifies development tasks because it is integrated into the Visual Studio .NET Integration Design Environment (IDE), allowing developers to build mobile web applications by dragging the control to the mobile web form.
ASP.NET does not have any components on the client device. Instead, it uses server-side logic to accommodate the rendering of a web browser of a particular device. It can generate wireless tag language (WML), HTML, and streamlined HTML (ChTML).
In addition to the highly adaptive web page presentation, ASP.NET also provides a rich framework for customization and scalable, and provides a simple way to extend control, so that the control can accommodate each will be listed. New equipment. In addition, ASP.NET also allows developers to control rendering of specific devices or device categories within the same programming model, allowing developers to easily add support for new devices without having to reply their mobile web applications.
ASP.NET Mobile Controls can be used:
Support for various types of devices (mobile phones, pager, PDA) that enable Web (mobile phones, pager, PDA) (WML, CHTML, HTML)
Note: ASP.NET Mobile Controls does not need to install any client. However, the target device must have a client web browser.
For more information on Microsoft ASP.NET Mobile Controls, see Mobile Web Development with asp.net.
Microsoft SQL Server 2000 Windows CE Edition 2.0
Microsoft SQL Server 2000 Windows CE Edition (SQL Server CE) 2.0 is a streamlined database that can be used to rapidly develop applications that extend enterprise data management capabilities to mobile devices. SQL Server CE is a powerful tool that supports user familiar structured query languages (SQL) syntax, and provides development models and APIs consistent with SQL Server, making it easy to develop mobile applications. The SQL Server CE engine provides a basic relational database capabilities such as optimizing the query processor and support for transactions and various data types, while it also maintains a streamlined memory space that retains important system resources. Remote data access and merge replication ensure reliable transmission of data in the SQL Server database; can be operated offline, but also synchronize with the server in the future, which makes SQL Server CEs to be ideal for mobile and wireless environments.
SQL Server CE 2.0 can be integrated with .NET Compact Framework through Visual Studio .NET, simplifying database applications for smart devices. Using the new SQL Server CE data provider via the public language runtime management code, the mobile application developer can establish a highly scalable application with offline data management functions in the case of disconnection.
In the following cases, SQL Server CE can be supplemented by the development tool:
Extending enterprise data management capabilities to Pocket PC development to store and process a large number of applications on mobile devices In an environment where the connection conditions are unstable, you need to use a mobile device to perform reliable data replication.
For more information on SQL Server CE, see Build Better Applications With SQL Server CE 2.0.
Tool comparison table
The following table summarizes the various functions of different tools.
Development program
In the short term, the most common tool for developing Windows Mobile devices is still an Embedded Visual Tools 3.0 for Pocket PC 2000 and 2002 for SmartPhone 2002 Embedded Visual C 3.0, and Embedded Visual C for Pocket PC and Smartphone 2003. 4.0. Finally, Visual Studio .NET and its SMART Device ProGram Mability (SDP) feature will become all development platforms based on Windows Mobile devices.
Server-side code or client code?
Using server-side code or using client code, depending on several conditions. The application's scheme is different, but these conditions can help you choose the best solution for your application.
User experience: Client applications generally provide better user experience because they run on the device and independently of all infrastructure interoperable. Available bandwidth: This is related to the user experience. Applications running in a sufficiently reliable bandwidth environment (such as wireless LAN), if you use server-side code, you can also provide a good user experience. Data security: The client application must ensure the security of sensitive data on the device. A series of Cryptographic Service Provider provided by Windows Mobile software helps achieve this. Server-side applications must ensure that data can be securely transmitted using SSL and other technologies. Supportability: Updates to client applications must be downloaded and installed on the device. If you develop a client application, please take this factor. Offline function: If you need offline data access and other offline functions, the client application is the best choice. What do you need to prepare before developing Windows Mobile-based Pocket PC and SmartPhone?
Before developing Pocket PCs and SmartPhone, what you want to prepare depends on what you want to develop, and to develop. In most cases, you need an integrated development environment, as well as the SDK or extension of the device to be developed. Fortunately, you can develop all Windows Mobile-based devices on a computer because all tools can coexist on these two devices. See Appendix on our recommended installation order.
Currently, Embedded Visual Tools IDE and the desired SDK are free, you can download it through web.
Who when?
Performance, control or resources are very important to me. For example, I want to write a game, device driver or an Active X component ...
If you plan to develop Pocket PC and Smartphone running Windows Mobile 2003 software, just download Embedded Visual C 4.0 Service Pack 2 and Pocket PC 2003 SDK from developer Downloads. You can also develop Windows MobileTM 2003 software for Smartphone using Smartphone 2003 SDK.
To support early Pocket PC, Pocket PC 2002, and Smartphone 2002 devices, you also need to download Embedded Visual Tools 3.0 - 2002 Edition.
If you need to maintain the development of Handheld PC Professional Edition, Handheld PC 2000, or Palm Size PC 1.2, you can download SDKS for Embedded Visual Tools 3.0.
I want to quickly develop applications in a safe and reliable environment, I may have to access Web services ...
I want to write a client application with the largest code portability ...
I want to take advantage of the Visual Studio .NET 2003, Visual C #, Visual Basic.net or .NET Framework knowledge ...
We recommend that you use the Smart Device Programmability feature in Visual Studio .NET 2003. The .NET Compact Framework is built into the Windows Mobile 2003-based Pocket PC and Smartphone. It can be used for Pocket PC 2002, but must be installed on the device.
I want to develop SmartPhone 2002 ......
You should download Embedded Visual Tools 3.0 - 2002 Edition. If you want to test your app on a real device, your area has no Smartphone, or Smartphone does not support development, you can purchase Smartphone Developer Kit.
I want to use a code library to develop Pocket PC 2002 and Pocket PC 2003 ......
You can build your app in two ways:
Develop .NET Compact Framework using Visual Studio .NET 2003. This way, you can write a hosted code base and let it run on both devices. Pocket PC 2002 requires installation .NET Compact Framework on the device. Use Embedded Visual C 3.0. If you use a reliable API and write a well-running application, and use Embedded Visual C 3.0 to write and compile the native code, it should be able to run on both Pocket PC 2003 and Pocket PC 2002.
I want to use a code library to develop SmartPhone 2002 and Smartphone 2003 ......
.NET Compact Framework cannot be used for Smartphone 2002. To write a code base to run on Smartphone 2002 and SmartPhone 2003, you must use this unit code and compile your application with Embedded Visual C 3.0.
I want to maintain applications written in Embedded Visual Basic ...
You should download Embedded Visual Tools 3.0 - 2002 Edition, which contains the development environment of Embedded Visual Basic, emulator, and SDK.
Consider using Visual Basic .NET 2003 to export the application to .NET Compact Framework.
I want to write applications for various mobile devices that can run in thin client environments. I want to maintain applications written in Embedded Visual Basic ...
You should use ASP.NET Mobile Controls in Visual Studio .NET 2003. For more information, see Mobile Web Development with asp.net.
summary
Microsoft is committed to making long-term success in the mobile device market and helping developers provide their business users and customers with rich features, powerful mobile applications. The current Windows Mobile-based application development language provides a series of incredible ability and flexibility.
As new mobile devices continue to introduce, Microsoft will continue to launch more cutting-edge, more unified development tools, helping developers quickly design and develop new applications such as web services, and systems that utilize .NET integration capabilities . With these practical tools, mobile application development groups will continue to meet the market requirements for the market requirements for rapidly developing markets.
Appendix: Recommended installation order for mobile application development tools
To ensure maximum interoperability between the various development tools of Windows Mobile software, we recommend that you install these tools and SDK in the following order. If you don't have any of these tools, you don't have to specifically get this tool because this does not affect interoperability between other tools.
The following installation steps require you log in to your computer with an account with native administrator privileges.
Before installing, uninstall all existing tools, SDK, and emulators. You should uninstall the following procedure before doing this installation: