Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Well, as usually, there is always a way. Once again, we return to JNI and writing some platform-specific code in C/C++ (or other). However, even in C/C++, this would be a challenge, as you would either have to communicate with the app (if it supports OLE/COM or some other method), which means writing different code to handle each player, or use tricks (enumerating windows, getting window's text, positions, etc.) to "look" at the app's visual elements and infer when it is finished (again, very application specific), or query the multimedia devices to see if there is an extended period of silence (and infer the music is finished). So, while it is possible, the amount of work involved might be pretty exorbitant and can't be done with Java alone. - mfg Replies: |
Sponsored Links
|