aspose file tools*
The moose likes Applets and the fly likes launching an application from an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "launching an application from an applet" Watch "launching an application from an applet" New topic
Author

launching an application from an applet

Eoin Mac Aoidh
Ranch Hand

Joined: May 19, 2005
Posts: 48
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
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
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 ]

Ping & DNS - my free Android networking tools app
Eoin Mac Aoidh
Ranch Hand

Joined: May 19, 2005
Posts: 48
Thanks for the pointer Ulf.

E
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: launching an application from an applet