Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

launching an application from an applet

 
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.
 
Rancher
Posts: 43016
76
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic