Windows Mobile 5.0

C

Can Erten

I read in the features if windows mobile 5.0 that :
Richer Media Functionality with Windows Media 10 Mobile: Windows Media
10 Mobile enables developers to integrate Windows Media player
functionality directly into their applications including library
manipulation and media playback functions.

Is this still unmanaged code? Do they implement a control in managed
code. I know it can be done by writing some wrappers but I suppose it's
not an easy task.

Thank you very much.
 
S

Steve Maillet \(eMVP\)

It is an ActiveX Control so with COM interop you can use it from managed
code.
 
C

Can Erten

Thanks Steve,
I researched a bit about the com interop. I read in an article that
The Pocket Media Player does not provide an ActiveX style control that
can be embedded in a Pocket PC application, and in any case, the .NET
Compact Framework does not support COM Interop
http://www.codeproject.com/netcf/PocketStreamer.asp

So is this something new in windows mobile 5.0.
Sorry I am not very familiar with that subject.
Thanks
 
C

Can Erten

OK. I searched a bit more and apparently The com interoperability comes
with .net framework 2 and Windows mobile 5.0 supports it. One more
question I don't see in my Com list the mobile media player activex
control. Where is the activex file so that I can add to my mobile form.
I have already installed windows media sdk 10 and already using in a
windows form and asp.net application.

Thanks.
 
A

Alex Feinman [MVP]

I just did a session at MEDC'05 where I demonstrated hosting WMP10 in CF2
application. This requires a significant amound of extra code written since
control hosting is not supported out of the box. The good news is that I
soon be posting this code via either MEDC site or that and OpenNETCF site.
 
C

Can Erten

It's really nice to hear from you that it is possible. I was looking
for that for weeks. I am waiting impatiently for the code. I hope you
will post it shortly because I really need it.
Thank you very much.
 
P

Peter Foot [MVP]

It's exactly the same support as was introduced in some later 2003 Second
Edition devices which have WMP10M. From .NETCF 1.0 you can write a wrapper
or use this one:-
http://www.peterfoot.net/TheGreatMediaPlayer10AutomationChallenge.aspx

For .NETCF v2.0 you can use COM interop to access the control, however as of
yet there isn't a way to host the control on a form - .NETCF 2.0 has COM
interop but not ActiveX hosting.

Peter
 
S

Steve Maillet \(eMVP\)

Yes, the embeddable player control and the COM interop are new to WM 5.0 and
CF2.0 respectively.
 
A

Alex Feinman [MVP]

Technically, a number of WM2003SE devices shipped with WMP10 as well. E.g.
SMT5600, iMate JAM. The former of course won't run CF2.0 app, but the latter
has run my MEDC WMP demo like a champ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top