Control Windows Media Center using a Windows Mobile 5 Device

Sign in to queue

The Discussion

  • User profile image
    Clint

    @Matt:  Currently Express can't do Windows Mobile development.

    Are you a student?  That does open a few doors for you.  hit the contact button at the top if you want to talk more about this.

  • User profile image
    James

    I think maybe a few changes are needed to work with VS 2008.  I slogged through to where I can get the C# template "Windows Media Center Application - Background".  I got the Installer project set up, and it "installs" without errors.  But that's about as far as I get.

    From what I can tell, if I install the template project without modification, it should pop up a dialog "The background application did something." when I launch Media Center, but nothing happens.  Is there a place I can view what addins MC thinks are registered?  Can I debug this somehow?  It's a pretty basic hurdle to get over, but MC addin development is not that common of a discussion topic.

  • User profile image
    Trent

    Hi...I'm new to programming...

    but I recieve the error "resx://WMCHookServer/WMCHookServer.Resources/_Default : Failure acquiring MCML markup from 'resx://WMCHookServer/WMCHookServer.Resources/_Default "...It seems like the image failed to load(I think) but...can you help me?

    PS: I'm only 13 yrs old

    I have Vista Ultimate and a Pocket PC

    with CE 5

  • User profile image
    Clint

    @Trent are you using the download we provided at the top and you are getting that error?

  • User profile image
    Trent

    Yes...and i also have VS 2005 full version..I'm not using the express edition... I'm currently using the VB version too... is there another version of the software that I should download?

  • User profile image
    Jay

    I am getting could not load file or assembly 'WMCServer' when I try to load Media Center after install. Using Visual Studio 2005, MS Vista Home Premium.

    WMCServer and WMCCommon are included in the solution as references. Looks like it is failing in the Launch method at the first _server call. I added the code to initialize the event handlers as stated above; however, no dice. I also used WiX to build the install.

    Any suggestions?

  • User profile image
    Trent

    is there anther file i should download besides the one on the top of the page?

  • User profile image
    Clint
  • User profile image
    Trent

    Yes. I have the Media Center SDK

  • User profile image
    Clint

    Pinging Matt on this.

  • User profile image
    Jan D

    Interesting article, but after creating the project (for Media Center, not for Mobile) there are warnings about references for this imports:

    Imports Microsoft.MediaCenter.Hosting

    Imports Microsoft.MediaCenter.UI

    I have the SDK installed, what am I doing wrong?

  • User profile image
    J:M

    Do you have Media Center on your dev computer? If no, copy the dll:s from the ehome dir on a Media Center computer.

  • User profile image
    jay2008

    The source code link does not work, can anyone help me find the c# source code for this?

  • User profile image
    Jay S

    THIS IS AN AWSOME ARTICLE!! ive been looking for some instructions on how to control media center in this way. This is the first in depth article ive seen thanks!!

  • User profile image
    Clint

    @jay2008 looking into getting this resolved, thanks for telling me.

  • User profile image
    Clint

    @miki, I know, I'm attempting to get in contact with the author.

  • User profile image
    Miki

    The source code link still doesn't work.

  • User profile image
    tomdel

    What a shame the link is now dead.. yea if anyone has it please email me it!!!

    deloford[at][hot]mail com

    Thanks!

  • User profile image
    Clint

    @tomdel working on getting tracking down the author, sadly this is an old article, processes have been put in place so this shouldn't happen to future articles.

  • User profile image
    Clint

    Source code located, article updated with new link, emailed the people that requested it when found.

    Sorry about that guys, processes are put in place to prevent this with future articles and I should have some time to go through and catch these issues in older articles as well.  There are just a LOT of posts ...

  • User profile image
    GaYan Silva

    hello... 1st of all.. i must mention that this is a great piece of work Wink

    instead of using the remote connection with media Center, , can we use it as a file manager /? ?

    how can i run the basic commands like opening the Start menu and simple tasks using the same connection ?

  • User profile image
    Clint

    @GaYan Silva, excellent question, you'd have to build out a server on the other end of the remote control to be able to do this.  WCF would be an easy way to accomplish this task then just script stuff out.

  • User profile image
    Clint

    @GaYan The article walks through how to do this.  Creating an up-to-date example here is on my list of things to do but i have zero ETA on it.

  • User profile image
    GaYan

    @ Coding4Fun ! Thanks ! !

    I tried to implement WCF .. ! wuh,,, too difficult Big Smile Big Smile

    by the way when i try to compile the app ! i get this error

    ///////////////////////////////////////////////////////////////

    Resx://wmcHookServer/wmcHookServer.resoures/_default': Failure acquiring MCML markup from 'resx://wmcHookServer/wmcHookServer.resoures/_default'.

    ////////////////////////////////////////////////////////////////

    Any Ideas ? im suing windows vista and vs 2008 ! ..

    Thanks in advance !

  • User profile image
    GaYan Silva

    @ Coding4Fun, .. yeh,, Thanks ~ ! Ill try to do that, , but the problem occurs when we try to register the addin with the media center,, ,,

    anyway .. ill see about it .. thanks ! if i get it working. ill post the code here !

Add Your 2 Cents