Windows Phone-Multimedia development

Source: Internet
Author: User

Here are some of the more good WP source code download: http://code.662p.com/list/14_1.html

Preface in the previous article describes how to create a new SILV Erlight for Windows phone applications, this article describes how to develop multimedia applications on WindowsPhone. It also describes the media file formats supported by the current Windows Phone beta release, as well as some of the limitations and points of attention of WindowsPhone Multimedia development.
MediaElement control use
using Silverlight to develop generic multimedia applications, using MediaElement controls is sufficient, MediaElement controls support audio and video files, and local and network files are supported. A decoder that supports multiple multimedia files (codec) greatly simplifies the difficulty of developing multimedia applications.
New MediaElement control
next to the previous example continue to describe how to use the MediaElement control


<ignore_js_op>  need to add MediaElement control , there are three ways to do this: Drag the MediaElement control on the Toolbox onto the design page, and in the XAML file, click the location where you want to place the MediaElement control, and then double-click MediaElement in Toolbox; Method Three adds a MediaElement control directly to the XAML file by manually writing code. The three methods are equivalent.
In the example, I've also added three buttons to convert radio and playback, and in subsequent articles in this series, we'll show you how to use Expression Blend for the beautification of the buttons, which are now described using text. Effects such as:
<ignore_js_op> 

Play Network Radio file
After you add the MediaElement control in XAML, the specified file source can be played. Click the Play button in Design view, or write an event handler directly in XAML, such as after you've written the Click event, you can click the tab button to add a new event handler (the code that automatically generates the handler function). Visual Stadio2010 brings many handy features for us to write code.

Detailed Description: http://wp.662p.com/thread-7956-1-1.html

Windows Phone-Multimedia development

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.