1 / 19

Develop apps for your Living Room using the Media Center SDK

Develop apps for your Living Room using the Media Center SDK. casey chesnut brains-N-brawn.com Madison .NET October 2007. Source. Hosted HTML and MCML - http://www.brains-n-brawn.com/artifacts/ugMceDev.zip Background MCML – http://www.brains-N-brawn.com/mceSapi/

talulah
Download Presentation

Develop apps for your Living Room using the Media Center SDK

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Develop apps for your Living Room using the Media Center SDK casey chesnut brains-N-brawn.com Madison .NET October 2007

  2. Source • Hosted HTML and MCML - http://www.brains-n-brawn.com/artifacts/ugMceDev.zip • Background MCML – http://www.brains-N-brawn.com/mceSapi/ • Guide data – http://www.brains-N-brawn.com/umpcFrame/ (GuideSimple) • XBAP – http://www.brains-N-brawn.com/mceZipPicWpf/

  3. brains-N-brawn.com • Pervasive Computing • Tablet PC (MVP 03) • Compact Framework (MVP 04) • Advanced Web Services (MVP 05) • Media Center (MVP 06) • Speech / Office Communication Server (MVP 07) • Location Based Services • Artificial Intelligence • 3D • Image Processing • Augmented Reality

  4. Outline • Introduction to MCE • Hosted HTML • Background App • XBAP • MCML • Other APIs

  5. DEMO Intro MCE • Pictures, Music, Video, Radio, TV, Internet TV, DVD Library • Program Library • Online Spotlight

  6. Remote Control • 10 feet away = large fonts • Simplify UI • 6 preferred buttons • Text input is hard • Keyboard commands

  7. DEMO Extenders • Multiple extenders to 1 MCE PC • Remoted UI • Media streamed separately • Security limitations • No DVD Library • Codec support • UPnP support is Media Player NOT MCE

  8. Getting Started • Vista Home Premium or Vista Ultimate • Visual Studio 2005 / Visual C# 2005 Express Edition • Media Center SDK 5.2 • (discuss.)mediaCenterSandbox.com • microsoft.public.windows.developer.mediacenter • theGreenButton.com

  9. DEMO Hosted HTML • MCE 2005 and MCE Vista • Remoted to extender (~5 fps) • C:\Program Files\Microsoft SDKs\Windows Media Center\v5.0\Samples\Hosted HTML Samples • Scriptable object model • Can be hosted remotely (or locally with Cassini) • ActiveX (86/64), Flash … Silverlight • MCE does not have an open web browser built-in

  10. Examples • WebGuide • MceWeather • MceBrowser

  11. DEMO Background Add-In • MCE 2005 and MCE Vista • Only UI is Dialog boxes • Run once or keep running • http://blog.mediacentersandbox.com/CreatingABackgroundApplicationFromTheTemplate.aspx

  12. Examples • OneVoice • Conversion tools • /mceXInput • /umpcFrame

  13. DEMO Managed Object Model • Navigation • PlayMedia • TV Recording(s) • DVD Changer • Parental Controls • MediaMetadata • Limited EPG • …

  14. DEMO XBAP UI • MCE Vista • VS 2005 Project Template • Remoted to extender (~5 fps) • Partial trust over the web, or Full trust locally • Lots of tools • Large community • Haven’t been able to debug since VS 2005 SP1

  15. DEMO MCML UI • MCE Vista • Custom markup language for MCE • Native on extender (~30 fps) • Markup only over the web or Markup and code locally • What MCE is built with (pre XAML) • Limited tool support • Small community • Debug by attaching to process (registry)

  16. Other App Models • CD DVD Burning • Media State Aggregation Service • ListMaker • ClickToRecord • Launch external apps • DirectShow

  17. Gotchas • Debugging • UAC • Extender model • Cannot open a window handle • Long running operations • DirectXExclusive • Plugins running in their own process

  18. Future • CableCards rolling out now • Internet TV last week • V2 extenders this holiday (DivX/XviD) • V2 Zunes • Xbox 360 fall update • Windows Home Server integration? • Live Anywhere on PCs? • Vista MCE will get a refresh next year • MediaRoom (ITV) is coming

  19. Questions

More Related