Re: conceptual question
Javier Pedemonte <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <bbidndWb6vg6wSfYnZ2dnUVZ_s6onZ2d__16127.9668951922$1169841754$gmane$org@mozilla.org> |
I think the best approach for both would be to write an extension that interfaces with the speech code. Embedding Songbird or Thunderbird in Java wouldn't work for this. Unfortunately, you cannot currently write extensions in Java (https://bugzilla.mozilla.org/show_bug.cgi?id=299263). The workaround for this is to write a JavaScript extension that loads the Java code: http://developer.mozilla.org/en/docs/Java_in_Firefox_Extensions. javier eileen-g wrote: > Hi there, > > I hope you can give me some advice for a student project. We want to > write a java application that > > 1. controls mozilla songbird via speech (we intend to use sphinx 4 for > that). For a start the basic functions like play, stop and pause will > suffice. > > 2. gets events from mozilla thunderbird, like the arrival of a new > email. We want to announce this with the help of a speech synthesis tool. > > I've been looking several hours, if anything like this already exists, > but I'm still unsure, what the right approach might be. Embedding > mozilla songbird via javaxpcom, writing a plugin or an extension? > > Thanks for your help. > > Best Regards, Eileen