A good tool for WP7 project development: Windows Phone commands

Source: Internet
Author: User

Today, I will share with you the development auxiliary tool that I accidentally found on codeplex, called Window phone commands.

Next we will study this together. What is Windows Phone commands?You must be wondering what Windows Phone commands is. According to the words of its creator

This is an open-source project based on Microsoft. NET 4.0 framework. It can be used as the resource manager for independent storage and application deployment to assist Windows Phone 7.1 Development.

How to obtain Windows Phone commandsYou can find the download tool for this project.
A plug-in of Visual Studio.Install Windows Phone commandsFirst, ensure that your development environment meets the following requirements before installing Microsoft Visual Studio 200102, microsoft Silverlight for Windows Phone toolkit is installed when you double-click the one you just downloaded. when you run the vsix file, you will see the following installation Prompt window. Click the Install button and wait until the installation is complete. Once installed, you can go to vs. Net IDE's View> other Windows>
Find it in Windows Phone commands. The following is a demo.
Let's take a look at the features provided by Windows Phone commands.Connect to Windows Phone simulator or Windows PhoneWhen we started Windows Phone commands for the first time, we did not open any Windows Phone project or solution
In this case, we will see this.
Click the second icon (lightning icon) at the top of the window ). This is used to connect the simulator or mobile phone. For example.
For the purpose of this article, I will select a connection simulator and click Connect. Then we found that the simulator has been started.
And the device information of the simulator is displayed in the window.
As you can see, this tool can also connect to a real device and display information about the real device. At the same time, be sure to connect the simulator or the real
After the machine, the two icons can also be clicked. The icon is used to refresh and display the application on the simulator/mobile phone, and another icon
It allows you to deploy programs on Simulators/real machines.Refresh and display apps on your phoneThis feature can be used to display the list of installed applications on a simulator or a real machine, for example.







Clicking different application options will enable the simulator to start the corresponding program. Unfortunately, I do not have a real machine yet, so I do not know whether the application can be started after the real machine is connected.

Deploy applicationsThis feature allows the simulator/real machine to install xap files. You can easily select the corresponding xap file and deploy it successfully ,.
Independent Storage Resource ManagerAfter you install an application and click the "show/refresh" icon, the installed application is displayed as follows:

As you can see, apart from the application name, its guid can also be seen. Do you notice that the three buttons below do not have the startup, independent storage, and unmount functions respectively. If you click the independent storage button in the middle, we can see the independent storage information of this application.

If you right-click any file, you can select the partition to copy, delete, and rename the file. If you right-click a folder
You can create a new sub-folder or add a file. Manifest EditorAfter half a day, we haven't combined Windows Phone commands with the real Windows Phone project. So the top worker
You cannot click the third icon in the column. However, once you start any Windows Phone project with visual stduio,
This icon can be clicked immediately. Click this icon to edit the manifest configuration file of the Windows Phone project. Example
For example, if I create a data binding example Windows Phone project and the following is the manifest Editor interface:

Here I would like to mention that my personal favorite feature is the capability detection function required by the project. Compared with traditional methods, you do not need to delete or add XML nodes to delete or add hardware functions required by the mobile phone. You only need to check/deselect these check boxes and click Save, any operations you perform are still automatically written to the XML file, as shown in:

SummaryThis is indeed a very simple and practical tool when you develop a Windows Phone project. Compared with other similar tools, this is the largest
The advantage is the ability to integrate with Visual Studio IDE and edit the manifest file of the project in a friendly way. Independent Storage Resource Management
The handler is also a very useful tool. You can check or uncheck the specified independent storage at any time to see how the program is running.
.

Okay. I hope you can try it on your own.


Original article, oschina. Net Original translation

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.