Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

launching an application from an applet

 
Eoin Mac Aoidh
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to be able to show a video from my applet.
I am running my applet on a pocket pc. All I want to do is give a link in some html where you say
How will it know what application to launch the video in?

When testing the html code above in Internet Explorer it launches the appropriate programme and shows the video. Unfortunately from the html in my applet it acknowledges that it is a link(underlines it in blue), but nothing happens when I click on it.


Thanks.

Eoin.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am guessing that whatever component you're using to display HTML in an applet has no idea what AVI files are or what to do with them. Unless you can teach that component how to handle such a file, you may need to code up a little viewer for AVI as part of your application.

The OtherOpenSourceProjectsFaq page links to several libraries that can play video (like JMF, QuickTime and JVLC), but I'm not sure which of those you'll be able to get to install and run on a Pocket PC. JMF is probably your best bet, as it supports many flavors of AVI, and is an all-Java solution.
[ September 04, 2007: Message edited by: Ulf Dittmer ]
 
Eoin Mac Aoidh
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the pointer Ulf.

E
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic