Learn about Windows Phone7 Development (14. Five Market Task)

Source: Internet
Author: User

The task is to start the Marketplace client program, and you can display the application as set. It can be said that marketplace is the most important WP7, because only through it can install the application, the developer's program can be issued to the phone.

1.MarketplaceHubTask: Start the client program and display the application according to the set classification.

MarketplaceHubTask hub = new MarketplaceHubTask();
hub.ContentType = MarketplaceContentType.Applications;
hub.Show();

2.MarketplaceDetailTask: Starts the client program and displays the details of the specified application.

MarketplaceDetailTask detail = new MarketplaceDetailTask ();
detail.ContentIdentifier = "";//设置所要显示的应用程序的标识符。
detail.ContentType = MarketplaceContentType.Applications;
detail.Show();

3.MarketplaceReviewTask: Starts the client program and displays the application preview page.

MarketplaceReviewTask review = new MarketplaceReviewTask ();
review.Show();

4.MarketplaceSearchTask: Start the client program and search for the application as set.

MarketplaceSearchTask marketsearch = new MarketplaceSearchTask();
marketsearch.ContentType = MarketplaceContentType.Applications;
marketsearch.SearchTerms = "games";
marketsearch.Show();

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.