Wednesday, January 13, 2016

Hands of a station PDA (WM5) want to learn programming, take the platform to ask how the Arab




            


Would like to learn some basic knowledge, write code that can be placed on some small PDA perform like
evc it? How to get it? A man nobody gets advice, so help!
Reply:
Windows Mobile Development Introduction
Microsoft's Windows Mobile operating system is an important part of the product line. Compared with the Windows 9x / NT / XP / 2003, Windows Mobile as a complete product line in the public eye very short time, but its development is unusually rapid, and in this development process, the developer provides absolutely critical driving force. Now, more and more developers (especially .NET developers) want to enter as soon as possible to develop the field of Windows Mobile, but the most important issue they face, in addition to the familiar Windows Mobile platform features outside, that is, how to build a suitable development environment. Therefore, this article on how to build a Windows Mobile from the development environment to start, on the Windows Mobile platform development features described profiling, to help developers quickly into Windows Mobile development field.

Before the commencement of this article need to note is that, Windows Mobile platform development mainly includes the following two aspects:

l platform level development

l application level development

Because the Windows Mobile platform built on Microsoft's Windows CE operating system family (current official commercial version of Windows CE .NET 4.21), while the Windows CE operating system has a very good modular nature, developers, especially the mobile phone equipment manufacturers , you can easily customize their desired operating system provided by Microsoft Platform Builder and eMbedded Visual C ++ (hereinafter referred to as eVC). This corresponds to the above mentioned level development platform.

However, the vast majority of developers do not need to build a new, personalized system, they only need to be concerned about how to build to run on the Windows Mobile device applications. To this end, Microsoft user experience differences and smart device itself by major hardware features, customization of the two main branches of Windows CE .NET 4.x family of operating systems were installed in different Windows Mobile hardware devices, thus also constitute what we usually call the Pocket PC and Smartphone. Following the development of Windows Mobile, in addition to especially have expressed Pocket PC / Smartphone development.

A large number of development tools provided in this article, except for marked separately, can be found in http://msdn.microsoft.com/mobility/downloads/default.aspx download.

Quickly set up a development environment
For Windows Mobile development, we need to build appropriate development environment. Fortunately, this environment is very simple to build.

Install Visual Studio .NET 2003
In order to reduce development effort for Windows Mobile, increase developer productivity, Microsoft ported to the .NET Framework on Windows Mobile devices, for Windows Mobile devices and Windows CE .NET operating system designed .NET Compact Framework (hereinafter referred to as .NET CF ). The Visual Studio .NET 2003 is the development of best IDE .NET CF application. In Visual Studio .NET 2003 is installed by default integrated .NET CF 1.0, Pocket PC 2002 also provides developers a template that can be directly used to develop Pocket PC 2002 application.

You can also choose Visual Studio 2005 as a development tool, the highest version of Beta 1 Refresh. In Visual Studio 2005, the default provided a Pocket PC / Smartphone 2003 SE (Second Edition) development template, while the Pocket PC 2003 SE developed using .NET CF upgrade to version 2.0 (beta).

Installation eVC (optional)
Based on the above environment is completely .NET CF develop Windows Mobile applications. But if you want to use C / C ++ language for native development, or want to develop COM components and applications on a Windows Mobile device, you can choose eVC as a development tool. EVC is currently the highest version 4.0 + SP4, make sure you have the latest patches.

You might ask: Now that you have Visual Studio .NET environment, why use eVC as a development tool? This is mainly because the current .NET CF function relatively far from complete, there are a lot of Windows CE .NET operating system's core function is not encapsulated into .NET CF, such as: encryption / decryption, the underlying network communication, COM interoperability operation, RAPI like. To complete the operation, call us or use the platform (P / Invoke) to develop escrow, or directly using eVC underlying native development for the system. For COM interoperability, .NET CF does not currently provide COM Interop (Interop) mechanism, can only use eVC be C / C ++ COM development. The good news is that in .NET CF 2.0 will offer powerful functionality supports COM interoperability features, but also will provide managed and native development capabilities in Visual C ++ 2005 environment at the same time, so that all the development work will be fully integrated in Visual Studio 2005 the same environment.

Installation Pocket PC / Smartphone 2003 SDK
In order to develop Pocket PC 2003 or Smartphone 2003 applications, you also need to install the Pocket PC 2003 SDK or Smartphone 2003 SDK. It is noteworthy, both included in the SDK simulator environment are in English, if you want to use Simplified Chinese environment simulator, please go Single download on Microsoft's Web site.

If you use Visual Studio 2005 to develop Windows Mobile applications, you do not need to be installed separately corresponding SDK, because the default SDK has been integrated into the Visual Studio 2005 environment.

SQL Server CE (optional)
This is an embedded database products recommended for use on Pocket PC, it is between SQL Server Desktop Edition and can achieve good data synchronization and interoperability, the latest version of the official version is 2.0. In SQL Server 2005 Beta 2 test version, includes an upgraded version of SQL Server CE 2.0 of SQL Server 2005 Mobile Edition-- but this version currently only supports Pocket PC 2003 system. SQL Server Mobile Edition is expected in the next version to provide support for the Smartphone.

ActiveSync environment to build
After completion of the above-mentioned development environment set up, you can develop and debug applications in Visual Studio .NET, and be deployed in the device / emulator. However, if you need further perform the following steps, then please continue to build this section of the ActiveSync environment. Possible perform operations include (but are not limited to):

l
copy files to the device / emulator
l
delete files from the device / emulator
l with the device / emulator to synchronize data

application development and debugging
l contains RAPI (Remote API) function
l ......

Install ActiveSync
ActiveSync is a managed Windows Mobile device is connected, and PC data synchronization tools. If you use when developing device is real, it is best to pre-installed ActiveSync to make the connection with the PC. If you are using a simulator, the addition to installing ActiveSync, also need to install the following tools.

Installation Connect Emulator with ActiveSync
If you are using a simulator software, in addition to install ActiveSync, you must also install this tool Connect Emulator with ActiveSync software. It will allow you to connect directly to the simulator via ActiveSync.

Aids introduced
In addition to these basic development tools in Windows Mobile development community, there are still a lot of aid, including application frameworks, tools, controls, and so on. Some of them due to the positioning accuracy, making good, easy to use, Windows Mobile development has become an indispensable good assistant. Some of which are listed below, and more are also present on the Windows Mobile developer community and the Internet, waiting for you to discover.

OpenNETCF.org Smart Device Framework
By several years active in the Windows Mobile developer community MVP jointly developed OpenNETCF.org Smart Device Framework (hereinafter referred to as SDF), just a few days ago received a Pocket PC Magazine's Top 2004 Best .NET development framework Award. Developers familiar with the SDF would think, for this award, OpenNETCF indeed well-deserved, because Windows Mobile SDF has almost become an indispensable tool for developers. They .NET CF inadequate given timely remedy, in the SDF, you can find a list of the current version of .NET CF Configuration, XML Serialization, Notification, Interop Services, WSE 2.0 and other features not yet available, as well as ListBoxEx etc. excellent control. It is worth mentioning that, SDF is a completely free and open source projects. This is done for several MVP entire Windows Mobile developer community contributions might really can not be measured by money.

Download: http: //www.opennetcf.org.

Windows Mobile Developer Power Toys
This is Microsoft's suite of development aid, following another set of Pocket PC / Smartphone 2003 SDK for developers after the offer. Which contains a lot of very excellent tool worth using, such as:

l ActiveSync Remote Display: the intelligent devices connected to the PC image enlarged display screen via a PC

l CECopy: In the command line to transfer files to smart devices connected

l Hopper: Pocket PC 2003 for user input stress testing tool

l PPC Command Shell: for Pocket PC 2003 command-line tool

l TypeIt: Smartphone 2003 for auxiliary character input tool

l ......

Mobile Application Development Toolkit 2004
This is Microsoft's recent launch of Windows Mobile development tools and data sets, which contains all of the above products and tools, as well as a series of related documentation, tutorials and reference materials.

Conclusion
Well, for how to build a Windows Mobile development environment introduced here. It's safe to say that with the maturity and increased support Microsoft Windows Mobile developer community, Windows Mobile developers will face more favorable environment as well.

Reply:
Thank you!
What is there who can guide you? Such as learning schedule, how deeply and slowly made simple?
Reply:
VS2005 + ActiveSync4.0 (or later) + windows mobile Sdk

Why not choose EV4 it?

Because personal preferences do not support the use of STL and STL
EV4
While debugging using VS2005 is relatively slow but feeling okay!

Landlord: tell you a good way to learn

That is, when you put something in the future the windows mobile 5

You will have a surprising finding is that there are many sample

So you can debug code inside this writing sample by going

This increases much faster ...
Reply:
Well, thank you
Reply:
Come learn
Reply:
Learn
Reply:
sf brother documentation old point.

Latest:

Visual Studio 2005 sp1 (not beta age, and is sp1 a)
ActiveSync 4.2
WM5 SDK for PPC
WM5 SDK for SmartPhone // can choose one
smartphone image // great virtual machine

Reply:
I also thank about
Reply:
Look
Reply:
Look
Reply:
It can be installed vs2005 developed.
Reply:
attention
Reply:
"Windows Mobile development environment to build Guide", http: // www. ic280.cn/bbs/dispbbs.asp?boardid=5&Id=1

No comments:

Post a Comment