Windows Mobile 5.0 (4)-Mobile Application Deployment)

Source: Internet
Author: User

Windows Mobile 5.0 (4) -- MobileProgramDeployment

 

Windows Mobile 5.0 (4) -- MobileProgram deployment

mobile program deployment: mobile winform the program is deployed on the device.

New 1 project . The system time is displayed after the program is started.


the program is very simple, that is, in form_load In the event, set label text set the value to system time.

After compilation, run it on the simulated device for testing.


If the program shows normal, you can deploy it.

InSolutionAdd1ItemsProject, SelectSolution-> Add-> new project

select other project types-> setup and deployment-> smart device cab project

New1ItemsCabOfProject.

After the creation, the configuration page is displayed:


In File System on target machine You can add different folders and add corresponding processing in different folders. By default Application folder And Program Files Folder This 2 Folder, but the content is empty.

to Start Menu menu and Programs There is a shortcut in the folder. I added this 2 folders.

InApplication folderTo add the program subject:


in application folder project output , select primary output

Add shortcuts:

Select Folder , Right-click and select Create new shortcut In the dialog box, select Application folder , Set Primary output Add in.


in Solution Explorer , select cab project primary output , open its properties


InOutputsTo view the actual content deployed to the device.

OpenActiveSyncProgram, selectExplore


I will cab copy to the device. Open the device and run cab

Start menu, the program is successfully deployed.

InDemodeploymentIt's mine.WinformOfProjectName

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.