Windows Mobile hands-on lab highlights

Source: Internet
Author: User
After two years of hands-on Windows Mobile labs, the most frequently asked question is: "Where can I find the hands-on lab manual ?" This is an unrecoverable question. Outside of teched and MEDC, it is indeed difficult to obtain hands-on lab manuals and virtual machines.
In fact, these hands-on experiment materials can be found on msdn, but we do not pay attention to them at ordinary times. Many people asked me about teched this year. After I answered them, many people were still confused. Maybe they thought I was fooling them. Taking the time of the past two days, I have written down all the hands-on lab manuals that can be found for your convenience. However, in the end, some lab environments are simple, and you only need manual and Code. However, the data synchronization experiments between SQL Server and SQL mobile are supported, you need to build a complex environment. The last reminder is that these manuals are all in English, I did not CET-4 when I used the English manual, what are you afraid? Friends who have participated in hands-on experiments should know the value of these experiments.

Windows Mobile

Getting started

Step by step: Building a. NET Compact framework application for a Windows Mobile-based device using Visual Studio 2005
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med201_msdn_netcf_app_vs2005.asp
For the first Windows Mobile developer, this is a very good experiment. Of course, we still need some winform development experience of. net. In this experiment, we first need to create a smartphone-based application, and then add an SQL mobile database as the data source, you also need to call the pocket outlook API to find contacts and send emails. Finally, you need to call web service to download images that are not found locally.
Recommendation index:★★★★☆
Knowledge Point: 1. Create a Windows Mobile Program
2. Add data sources to SQL mobile
3. Pocket outlook API call
4. Web Service reference

Step by step: Create a database browser application for Pocket PC in C # by using Visual Studio. NET 2003
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/intro_winmobile_csharp.asp
Step by step: Create a database browser application for Pocket PC in Visual Basic by using Visual Studio. NET 2003
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/intro_winmobile_vb.asp
These two experiments are only two different versions of the language. Because they are relatively simple, they are not used in China. In fact, the main purpose is to add a web service reference, get a DataSet object from the Web service, and then bind it to the DataGrid Control.
Recommendation index:★★★☆
Knowledge Point: 1. the Web Service transmits the DataSet object.
2. Bind The DataGrid to dataset.

Step by step: Build a mobile book catalog with Visual Studio. NET 2003 for Pocket PC
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/mobile_book_catalog_vsnet2003.asp
This experiment is much more complicated. It aims to create a library information browsing software that is close to the truth. First, we need to create a user interface, then use the Web service to obtain the book information, and then use P/invoke to call the API to control the cursor type (in. net CF 2.0 is not so complicated). Finally, to cope with the offline status, you also need to use XML to locally cache the data. This experiment has not been used in China.
Recommendation index:★★★★☆
Knowledge Point: 1. Create a complex user interface
2. Use Web Service
3. Use P/invoke
4. Use XML

Step by step: Develop a location-based application on a Pocket PC phone edition by using Microsoft mappoint location Server 1.0
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/location_apps_mappoint.asp
This experiment describes how to use the mappoint location server on a Pocket PC. Because the mappoint service is not available in China, we can only feel that this experiment has never been used in China. First, you must create a project and user interface to add the Web service reference of mappoint to the project. First, specify the user name, password, and region to be searched. Select "Na" (North America ). Then obtain the contact's location and display it on the map.
Recommendation index:★★★★☆
Knowledge Point: 1. Use of mappoint Web Service
2. Add the mappoint chart to the program.

Step by step: integrating real-time tracking with mappoint location Server
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med203_msdn_mappoint_location_server.asp
Recommendation index:★★★★
An experiment similar to the above, but added real-time tracking content
Knowledge Point: Use of mappoint Web Service

Development Tools

Step by step: New Native Windows Mobile development features in Visual Studio 2005
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med304_msdn_new_native_wm_features_vs2005.asp
Many of my friends complained that the hands-on lab uses. Net cf as the main development tool, and has little concern for C ++ developers. This experiment is specially designed for C ++ developers. In VS 2005, we first used ATL to develop an ActiveX control, and then used MFC to create a Host Program and call this control.
Recommendation index:★★★★☆
Knowledge Point: 1. Create ActiveX Control
2. ActiveX control is called in the MFC program.

Windows Mobile Programming

Step by step: introduction to the new Native APIs in Windows Mobile 5.0
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med307_msdn_intro_new_wm5_native_api.asp
A super long experiment introduced all interesting APIs in Windows Mobile 5.0. Of course, this experiment is based on the development environment of VS 2005 c ++. First, use the API in pocket outlook to select a contact. Then, use the Image Selection dialog box and messaging API to select an image as an attachment and send an email; next, use the state and notification broker API to obtain notifications when the current system status and system status change. Finally, call the camera capture API to obtain camera functions. The only thing that may not be involved is the gps api.
Recommendation index:★★★★★
Knowledge Point: 1. Use the Image Selection API
2. pocketoutlook API obtains contacts and sends emails
3. State and configurications broker API
4. Camera capture API

Step by step: introduction to the new managed APIs in Windows Mobile 5.0
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med202_msdn_intro_new_wm5_managed_apis.asp
Similar to the previous experiment, the environment was changed to the. net cf hosting environment.
Recommendation index:★★★★★
Knowledge Point: 1. Use the Image Selection API
2. Call in. Net cf
3. pocketoutlook API obtains contacts and sends emails
4. State and configurications broker API
5. Camera capture API

User Interface

Step by step: Build a custom control for Visual Studio. NET 2003 by using the. NET Compact framework on Smartphone
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/sp_lab1_build_custom_control.asp
Create a custom control for smartphone and add design-period support for the control. This is an old hands-on experiment that has appeared in teched 2004 in China. Now we have an easier method in vs2005.
Recommendation index:★★★★
Knowledge Point: 1. Create a custom control
2. Add support for the design period

Step by step: develop orientation-aware and DPI-aware applications for Pocket PC
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/orientation_dpi_aware_apps.asp
This is also an old experiment to show you how to program different display methods and resolutions. At that time, only the Pocket PC 2003 se had this problem, and now all the Pocket PCs and smartphone need to consider these issues.
Recommendation index:★★★★
Knowledge Point: 1. Different Display Methods
2. Different Resolutions

Step by step: developing orientation-aware and resolution-aware Windows Mobile-based applications in native code
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med305_msdn_dev_orientation_res_aware_apps_native.asp
The upgrade of the above experiment is different from running on the Windows Mobile 5.0 platform.
Recommendation index:★★★☆
Knowledge Point: 1. Different Display Methods
2. Different Resolutions

Step by step: Implement smartphone-style scrolling data entry dialogs by using the. NET Compact framework on Smartphone
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/sp_lab2_implementing_scrolling_dialogs.asp
Create a scroll dialog box on Smartphone. This problem has been solved in VS 2005. This experiment is only for vs 2003 and. Net CF 1.0.
Recommendation index:★★★☆
Knowledge Point: 1. Smartphone interface features
2. If you scroll through the dialog box

Step by step: Implement style list controls by using the. NET Compact framework on Smartphone
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/sp_lab3_implementing_list_controls.asp
Implement a self-drawn listview to display data from the web service.
Recommendation index:★★★☆
Knowledge Point: 1. Add a self-drawn listview
2. Web Service reference

Data Operations

Step by step: Developing a SQL mobile application with Visual Studio 2005 and SQL Server 2005
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med302_msdn_ SQL _mobile.asp
This experiment is used in MEDC and teched 2006. It mainly consists of three parts: adding the SQL mobile database as a data source to the project and generating the user interface by dragging it; configure SQL Server replication so that SQL server can synchronize with SQL mobile on the device. Data is synchronized through web service.
Recommendation index:★★★★★
Knowledge Point: 1. Add SQL mobile as the data source
2. Use replication for Data Synchronization
3. Use Web Service for Data Synchronization

Step by step: program Microsoft SQL Server ce 2.0 merge replication using. NET Compact framework
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/ SQL _serverce_replication_net.asp
This is an old version of the merge replication experiment. It uses SQL Server ce 2.0 and SQL Server 2000, which are similar to the above implementation, but only adds a step for conflict resolution.
Recommendation index:★★★★★
Knowledge Point: 1. Configure merge replication
2. Configure IIS and SQL Server ce server tools
3. subscribe to and publish and synchronize data
4. Conflict Resolution

Platform migration

Step by step: migrating a Windows Mobile Application from Gapi to DirectX
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med308_msdn_migrating_wm_gapi_app_directx.asp
This is actually an experiment about d3d mobile. I will not talk about it in detail.
Recommendation index:★★★★☆
Knowledge Point: d3d mobile

Step by step: migrating an Embedded Visual C ++ application to Visual Studio 2005
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med303_msdn_migrate_evc_app_vs2k5.asp
This experiment distinguished the migration of MFC and Win32 programs from EVC to VS 2005.
Recommendation index:★★★★
Knowledge Point: VS 2005 support for native C ++ project migration

. NET Compact framework
Step by step: inconfigurating COM objects into your. NET Compact Framework 2.0 APPLICATION
Http://msdn.microsoft.com/library/en-us/dnnetcomp/html/med301_msdn_com_netcf2.asp
In. net CF 2.0 program uses COM components, including two parts. In VS 2005, Use ATL to develop a COM component.. Net CF 2.0 program call; Use poom to operate pocket outlook, and finally use the managed API in Windows Mobile 5.0 to implement the same function. It is worth mentioning that. Net CF 2.0 only supports calling COM components, but does not support ActiveX controls.
Recommendation index:★★★★☆
Knowledge Point: 1. Use ATL to create COM components
2. Call the COM component in. Net CF 2.0.
3. Call poom in. Net CF 2.0
4. Use Windows Mobile 5.0 to host APIs

Step by step: Developing Multithreaded Applications With the. NET Compact Framework 2.0
Http://msdn.microsoft.com/library/en-us/dnnetcomp/html/med204_msdn_dev_multithread_apps_netcf2.asp
A very good multi-threaded experiment, including thread creation, thread pool, thread synchronization, etc. We strongly recommend that you do it.
Recommendation index:★★★★★
Knowledge Point:. Net CF multi-thread knowledge


Step by step: tips, tricks, and techniques for debugging. NET Compact framework applications
Http://msdn.microsoft.com/library/en-us/dnnetcomp/html/med306_msdn_debugging_netcf.asp
This is a very new experiment. It is also the only one that does not focus on development and debugging. There are three main contents: Setting thread-related breakpoints and debugging a p/invoke; use InterOP log to determine the platform call. Of course, you will find that these debug technologies are designed for complicated multi-threaded or platform calls.
Recommendation index:★★★★★
Knowledge Point: 1. Set thread-related breakpoints
2. debug a p/invoke
3. Use InterOP log

All right, all the labs will be introduced here. Of course there are still some labs that haven't been published, and I don't know where to find their manuals. However, do not assume that you will not participate in the hands-on experiment next year with this experiment manual list. You must know that Windows Mobile hands-on experiment will be updated every year. If you miss this experiment, it may take another year to see you in MEDC and teched labs next year.
Another point is that the current experiments are conducted in the United States, and the Chinese side is just doing localization. I want to make a survey here. I hope you can give me more feedback:
1. If you want to do your own experiments in China, do you support them?
2. What are the expectations of the hands-on experiment?
3. is the introduction of new technologies closer to actual practice?
4. What content are you interested in?
Thank you for your comments.

Related Article

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.