Invoking Mediaplayer from PPC

G

Guest

Guest
Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

Hi all

Somewhere i read that you can invoke the built in mediaplayer from your PPC
application, and play a videofile. Once the video is finished, you can stop
the mediaplayer, and bring your own application back to front.

Can anyone help me on this matter, with an example on how to do this ?

Regards
Anders
 
G

Guest

Guest
Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

Your best bet is to use the SDK documentation and samples. This got
delinked from MS site but it's still available at least for now :
Check out http://www.pocketpcdn.com/libraries/wmp.html and grab fmor
the download link.

Sorry I can't help you with embedding in a C++/VB app, I only really
do web stuff ;-)

Cheers - Neil

On Tue, 20 Jul 2004 11:38:16 +0200, "Anders Fredborg"
<Fredborg@tdcadsl.dk> wrote:

>Hi all
>
>Somewhere i read that you can invoke the built in mediaplayer from your PPC
>application, and play a videofile. Once the video is finished, you can stop
>the mediaplayer, and bring your own application back to front.
>
>Can anyone help me on this matter, with an example on how to do this ?
>
>Regards
>Anders
>
 
G

Guest

Guest
Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

you can look out for a WMP in a Pocket pc Application on pocket pc dn.
that sample application works fine. (Media bookmarker)

but i dont see WMP closing automatically when the video file is over..

if u found out any solution pls let me know..

and if u rewuire that sample application mail me il send u the sample
application

--
Thanks and Regards,

Arvind


--
"eRiva Systems" - Where Technology Meets Life, Every Minute.

arvindr@erivasystems.com

www.erivasystems.com

"Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote in message
news:ls1qf0poau10ivmui4daqn6588v5n2roks@4ax.com...
> Your best bet is to use the SDK documentation and samples. This got
> delinked from MS site but it's still available at least for now :
> Check out http://www.pocketpcdn.com/libraries/wmp.html and grab fmor
> the download link.
>
> Sorry I can't help you with embedding in a C++/VB app, I only really
> do web stuff ;-)
>
> Cheers - Neil
>
> On Tue, 20 Jul 2004 11:38:16 +0200, "Anders Fredborg"
> <Fredborg@tdcadsl.dk> wrote:
>
> >Hi all
> >
> >Somewhere i read that you can invoke the built in mediaplayer from your
PPC
> >application, and play a videofile. Once the video is finished, you can
stop
> >the mediaplayer, and bring your own application back to front.
> >
> >Can anyone help me on this matter, with an example on how to do this ?
> >
> >Regards
> >Anders
> >
>
 
G

Guest

Guest
Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

I found out myself, here is the code

OpenNETCF.Diagnostics.Process p =
OpenNETCF.Diagnostics.Process.Start("\\Program Files\\Windows Media
Player\\Welcome To Windows Media.wma");

System.Threading.Thread.Sleep(9000);

p.Kill();



"Arvind" <arvinds@erivasystems.com> wrote in message
news:O3n4O98cEHA.3572@TK2MSFTNGP10.phx.gbl...
> you can look out for a WMP in a Pocket pc Application on pocket pc dn.
> that sample application works fine. (Media bookmarker)
>
> but i dont see WMP closing automatically when the video file is over..
>
> if u found out any solution pls let me know..
>
> and if u rewuire that sample application mail me il send u the sample
> application
>
> --
> Thanks and Regards,
>
> Arvind
>
>
> --
> "eRiva Systems" - Where Technology Meets Life, Every Minute.
>
> arvindr@erivasystems.com
>
> www.erivasystems.com
>
> "Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote in message
> news:ls1qf0poau10ivmui4daqn6588v5n2roks@4ax.com...
> > Your best bet is to use the SDK documentation and samples. This got
> > delinked from MS site but it's still available at least for now :
> > Check out http://www.pocketpcdn.com/libraries/wmp.html and grab fmor
> > the download link.
> >
> > Sorry I can't help you with embedding in a C++/VB app, I only really
> > do web stuff ;-)
> >
> > Cheers - Neil
> >
> > On Tue, 20 Jul 2004 11:38:16 +0200, "Anders Fredborg"
> > <Fredborg@tdcadsl.dk> wrote:
> >
> > >Hi all
> > >
> > >Somewhere i read that you can invoke the built in mediaplayer from your
> PPC
> > >application, and play a videofile. Once the video is finished, you can
> stop
> > >the mediaplayer, and bring your own application back to front.
> > >
> > >Can anyone help me on this matter, with an example on how to do this ?
> > >
> > >Regards
> > >Anders
> > >
> >
>
>
 
G

Guest

Guest
Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

Cool..thanks a lot!

--
"eRiva Systems" - Where Technology Meets Life, Every Minute.

arvindr@erivasystems.com

www.erivasystems.com

"Anders Fredborg" <Fredborg@tdcadsl.dk> wrote in message
news:#6HhU4idEHA.3392@tk2msftngp13.phx.gbl...
> I found out myself, here is the code
>
> OpenNETCF.Diagnostics.Process p =
> OpenNETCF.Diagnostics.Process.Start("\\Program Files\\Windows Media
> Player\\Welcome To Windows Media.wma");
>
> System.Threading.Thread.Sleep(9000);
>
> p.Kill();
>
>
>
> "Arvind" <arvinds@erivasystems.com> wrote in message
> news:O3n4O98cEHA.3572@TK2MSFTNGP10.phx.gbl...
> > you can look out for a WMP in a Pocket pc Application on pocket pc dn.
> > that sample application works fine. (Media bookmarker)
> >
> > but i dont see WMP closing automatically when the video file is over..
> >
> > if u found out any solution pls let me know..
> >
> > and if u rewuire that sample application mail me il send u the sample
> > application
> >
> > --
> > Thanks and Regards,
> >
> > Arvind
> >
> >
> > --
> > "eRiva Systems" - Where Technology Meets Life, Every Minute.
> >
> > arvindr@erivasystems.com
> >
> > www.erivasystems.com
> >
> > "Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote in message
> > news:ls1qf0poau10ivmui4daqn6588v5n2roks@4ax.com...
> > > Your best bet is to use the SDK documentation and samples. This got
> > > delinked from MS site but it's still available at least for now :
> > > Check out http://www.pocketpcdn.com/libraries/wmp.html and grab fmor
> > > the download link.
> > >
> > > Sorry I can't help you with embedding in a C++/VB app, I only really
> > > do web stuff ;-)
> > >
> > > Cheers - Neil
> > >
> > > On Tue, 20 Jul 2004 11:38:16 +0200, "Anders Fredborg"
> > > <Fredborg@tdcadsl.dk> wrote:
> > >
> > > >Hi all
> > > >
> > > >Somewhere i read that you can invoke the built in mediaplayer from
your
> > PPC
> > > >application, and play a videofile. Once the video is finished, you
can
> > stop
> > > >the mediaplayer, and bring your own application back to front.
> > > >
> > > >Can anyone help me on this matter, with an example on how to do this
?
> > > >
> > > >Regards
> > > >Anders
> > > >
> > >
> >
> >
>
>
 
G

Guest

Guest
Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

how will u select particular file from ur application?

like

\\My Documents\\personal\\test.wmv

????????

please let me know


--
"eRiva Systems" - Where Technology Meets Life, Every Minute.

arvindr@erivasystems.com

www.erivasystems.com

"Arvind" <arvinds@erivasystems.com> wrote in message
news:O9kScMFeEHA.2848@TK2MSFTNGP10.phx.gbl...
> Cool..thanks a lot!
>
> --
> "eRiva Systems" - Where Technology Meets Life, Every Minute.
>
> arvindr@erivasystems.com
>
> www.erivasystems.com
>
> "Anders Fredborg" <Fredborg@tdcadsl.dk> wrote in message
> news:#6HhU4idEHA.3392@tk2msftngp13.phx.gbl...
> > I found out myself, here is the code
> >
> > OpenNETCF.Diagnostics.Process p =
> > OpenNETCF.Diagnostics.Process.Start("\\Program Files\\Windows Media
> > Player\\Welcome To Windows Media.wma");
> >
> > System.Threading.Thread.Sleep(9000);
> >
> > p.Kill();
> >
> >
> >
> > "Arvind" <arvinds@erivasystems.com> wrote in message
> > news:O3n4O98cEHA.3572@TK2MSFTNGP10.phx.gbl...
> > > you can look out for a WMP in a Pocket pc Application on pocket pc dn.
> > > that sample application works fine. (Media bookmarker)
> > >
> > > but i dont see WMP closing automatically when the video file is over..
> > >
> > > if u found out any solution pls let me know..
> > >
> > > and if u rewuire that sample application mail me il send u the sample
> > > application
> > >
> > > --
> > > Thanks and Regards,
> > >
> > > Arvind
> > >
> > >
> > > --
> > > "eRiva Systems" - Where Technology Meets Life, Every Minute.
> > >
> > > arvindr@erivasystems.com
> > >
> > > www.erivasystems.com
> > >
> > > "Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote in message
> > > news:ls1qf0poau10ivmui4daqn6588v5n2roks@4ax.com...
> > > > Your best bet is to use the SDK documentation and samples. This got
> > > > delinked from MS site but it's still available at least for now :
> > > > Check out http://www.pocketpcdn.com/libraries/wmp.html and grab fmor
> > > > the download link.
> > > >
> > > > Sorry I can't help you with embedding in a C++/VB app, I only really
> > > > do web stuff ;-)
> > > >
> > > > Cheers - Neil
> > > >
> > > > On Tue, 20 Jul 2004 11:38:16 +0200, "Anders Fredborg"
> > > > <Fredborg@tdcadsl.dk> wrote:
> > > >
> > > > >Hi all
> > > > >
> > > > >Somewhere i read that you can invoke the built in mediaplayer from
> your
> > > PPC
> > > > >application, and play a videofile. Once the video is finished, you
> can
> > > stop
> > > > >the mediaplayer, and bring your own application back to front.
> > > > >
> > > > >Can anyone help me on this matter, with an example on how to do
this
> ?
> > > > >
> > > > >Regards
> > > > >Anders
> > > > >
> > > >
> > >
> > >
> >
> >
>
>