Windows Mobile Hands-on Labs collection

Source: Internet
Author: User
Tags compact microsoft sql server

After two years of Windows Mobile hands-on experimentation, in retrospect, one of the most asked questions was: "Where can I find a manual experiment?" "It's an unanswerable question, and outside of TechEd and Medc, it's really hard to get manual and virtual machines for hands-on experimentation."
In fact, these hands-on experiments in the data on MSDN can be found, but usually people do not pay attention to it. This year TechEd also a lot of people asked me, I answered them, a lot of people are still confused, maybe think I'm kidding them. Just take advantage of these two days have time, I will be able to find the hand-test manuals are written down, convenient for everyone to search it. However, warn you said that in the front, some experimental environment relatively simple experiments, the manual and the code can be, but SQL Server and SQL Mobile Data Synchronization experiment, you need to build a more complex environment. The last reminder is that these manuals are in English, did not CET-4 I do the experiment when the English manual, we are also afraid of what. A friend who has participated in a hands-on experiment should know the value of these experiments and say no more.

Windows Mobile

Beginners start

Step by Step:building the 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
This is a very good experiment for first-time developers with Windows Mobile, but there is a need for some. NET of WinForm development experience. In this experiment, we first need to create a smartphone application, then add a SQL Mobile database as a data source, and call the Pocket Outlook API to complete contact lookup and mail delivery, and finally call the Web Service to download pictures that are not available locally.
Recommended index: ★★★★☆
Knowledge Points: 1, creating Windows Mobile Programs
2,sql Mobile Add Data source
3,pocket Outlook API calls
References to 4,web service

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 simpler, so they are not selected at home. The main purpose is to add a reference to a Web service, get a DataSet object from the Web service, and then bind to the DataGrid control.
Recommended index: ★★★☆
Knowledge Point: 1,web Service Delivery DataSet object
2,datagrid binding DataSet

Step by Step:build a Mobile book Catalog with the 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, and the experiment is to create a close to real book information browsing software. We first create a user interface, then use the Web service to get the book information, and then we need to invoke the API via P/invoke to control the cursor type (not so complicated in. NET CF 2.0), and finally, to cope with the state of offline, You also need to use XML to cache the data locally. This experiment has not been used in China.
Recommended index: ★★★★☆
Knowledge Points: 1, creating a complex user interface
2, using Web Service
3, using P/invoke
4, using XML

Step by Step:develop a location-based application on a Pocket PC Phone Edition by Using Microsoft MapPoint Location Serve R 1.0
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/location_apps_mappoint.asp
This experiment describes how to use MapPoint Location Server on a Pocket PC because MapPoint services are not in China, so we can only feel that the experiment has not been used at home. First you need to create a project, user interface, and add MapPoint Web service references to the project. First you specify the username, password, and area to look for, and you choose NA (North America). Then get the location of the contact and finally show it on the map.
Recommended index: ★★★★☆
Knowledge Point: The use of 1,mappoint Web service
2, the MapPoint map is displayed in 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
Recommended index: ★★★★
An experiment similar to the one above, but added to the content of real-time tracking
Knowledge Point: The 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 friends complain that hands-on labs use. NET CF as their main development tool, and too little concern for C + + developers. This experiment is designed specifically for C + + developers. In VS 2005, first develop an ActiveX control with ATL, and then use MFC to create a host program that invokes the control.
Recommended index: ★★★★☆
Knowledge Points: 1, creating ActiveX controls
Calling ActiveX controls in 2,MFC programs

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 that introduced all the more interesting APIs in Windows Mobile 5.0, and of course the experiment was developed with VS 2005 C + +. First use the APIs in Pocket Outlook to select Contacts, and then use the Picture Selection dialog box and the Messaging API to select pictures as attachments and send e-mail messages; Next, through state and notifications Broker The API gets the notification of the current state of the system, the system state changes, and finally the camera Capture API to obtain the function of the camera. Perhaps the only thing that is not involved is the GPS API.
Recommended index: ★★★★★
Knowledge Points: 1, the use of the image selection API
2,pocketoutlook API get contacts, send e-mail
3,state and Notifications Broker APIs
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 is changed to a managed environment of. NET cf.
Recommended index: ★★★★★
Knowledge Points: 1, the use of the image selection API
2,.net CF Medium dial call
3,pocketoutlook API get contacts, send e-mail
4,state and Notifications Broker APIs
5,camera Capture API

User interface

Step by Step:build a Custom control to 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-time support for this control. This is a relatively old hands-on experiment, once in TechEd 2004 China has appeared. Now we have a much easier way of doing it in VS2005.
Recommended index: ★★★★
Knowledge Points: 1, creating custom controls
2, add design period support

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
It's also an older experiment that lets you learn about programming for different display styles and resolutions. This was the problem with only Pocket PC 2003 SE, and now all Pocket PCs and smartphone need to consider these issues.
Recommended index: ★★★★
Knowledge Points: 1, different display mode
2, different resolution

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
Recommended index: ★★★☆
Knowledge Points: 1, different display mode
2, different resolution

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
To create a scrollable dialog on the smartphone, this problem has been resolved in VS 2005, and this experiment is only for VS 2003 and. NET CF 1.0.
Recommended index: ★★★☆
Knowledge Point: 1,smartphone interface Features
2, if the scrolling 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 custom ListView to display data from a Web service.
Recommended index: ★★★☆
Knowledge Points: 1, add self painting listview
2,web Service Reference

Data manipulation

Step by step:developing a SQL Mobile application with Visual Studio SQL Server 2005
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/med302_msdn_sql_mobile.asp
This experiment is the experiment used in Medc and TechEd 2006, which is mainly divided into three parts: adding SQL Mobile Database as a data source to the project, dragging and dropping the user interface, and configuring SQL Server's replication so that SQL Server can synchronize with the device-side SQL Mobile and data synchronization through the Web service.
Recommended index: ★★★★★
Knowledge Points: 1, adding SQL Mobile as a data source
2, using replication for data synchronization
3, using the Web service for data synchronization

Step by Step:program Microsoft SQL Server CE 2.0 Merge Replication the Using. NET Compact Framework
Http://msdn.microsoft.com/library/en-us/dnppcgen/html/sql_serverce_replication_net.asp
This is the older version of the merge replication experiment, which uses SQL Server CE 2.0 and SQL Server 2000, roughly similar to the top implementation, but adds the steps to conflict resolution.
Recommended index: ★★★★★
Knowledge Point: 1, configure merge Replication
2, configure IIS and SQL Server CE server Tools
3, subscribe to publish, and synchronize
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 a D3D mobile experiment, the specific situation is not much to say.
Recommended 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 distinguishes between MFC and WIN32 programs migrating from eVC to VS 2005.
Recommended index: ★★★★
Knowledge Points: VS 2005 support for native C + + engineering migration

The. NET Compact Framework
Step by step:incorporating COM Objects into Your. NET Compact Framework 2.0 Application
Http://msdn.microsoft.com/library/en-us/dnnetcomp/html/med301_msdn_com_netcf2.asp
Using COM components in a. NET CF 2.0 program, including two parts, using ATL to develop a COM component in VS 2005, calling in a program in. NET CF 2.0, using Poom to manipulate pocket Outlook, and finally using Windows The managed API in Mobile 5.0 to achieve the same functionality. It is worth mentioning that. NET CF 2 supports only COM component calls, but does not support ActiveX controls.
Recommended index: ★★★★☆
Knowledge Point: 1, using ATL to create COM components
Calling COM components in 2,.net CF 2.0
Call Poom in 3,.net CF 2.0
4, using the Windows Mobile 5.0 managed API

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
Very good multithreading experiment, including thread creation, thread pool, thread synchronization, and so on, strongly recommend that you do.
Recommended index: ★★★★★
Knowledge points:. NET CF Knowledge about multithreading


Step by Step:tips, Tricks, and techniques the 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, and the only one that is not developed for debugging, there are three main content: set thread-related breakpoints, debug a P/invoke, and use interop log to determine platform invoke. Of course, you will find that these debug technologies are for more complex multithreading or platform invoke.
Recommended index: ★★★★★
Knowledge Points: 1, set thread-related breakpoints
2, debug a P/invoke
3, using Interop Log

Well, all the experiments are introduced here, and of course there are some not published experiments, I do not know where to find their manuals. But do not think that with this list of experimental manuals, next year can not participate in hands-on experiments, to know that Windows Mobile hands-on experiment will be updated every year, if you miss, you may have to wait another year, look forward to next year in MEDC and TechEd's laboratory to see you.
Another point is that the current experiment is on the U.S. side, and China is just doing localized work here. I want to do a survey here, I hope you can give me more feedback:
1, if we want to do China's own experiments, we are not supporting it.
2, on the content of hands-on experiments, what kind of expectations.
3, is biased to the introduction of new technologies, or closer to the actual combat.
4, what are you interested in, think it will be interesting to appear in the hands-on experiment.
I hope to hear from you, thank you.

Source: http://blog.csdn.net/aawolf/archive/2006/09/27/1296240.aspx

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.