Re: conceptual question
eileen-g <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <GeednWE4xqw0zF3YnZ2dnUVZ_veinZ2d__49671.5562454939$1170232093$gmane$org@mozilla.org> |
Hi Javier, thanks for your reply. We wrote an extension and established a socket communication between songbird and our java application. Our first test turned out ok. We send some code e.g. "200" from the java side. Upon arrival the extension checked the code and started playing if necessary. Eileen Javier Pedemonte wrote: > 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