thanks,
Anil
1).....dunno
2)Applet-You can embbed an applet in your AJAX application. Take a
look at the JMF API. Your applet will need to be signed....google
search: signed applets
HTH
:)
2) You'll need to use a browser plugin. Either Java or flash. For
flash check out: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Microphone.html
1) You don't get multi threading in GWT. Incremental command helps w/
slow script warning and what not, but it isn't comparable to having
threads.
2) You can't record w/javascript (and therefore GWT). About the time
you are using flash or applets for this, what is GWT buying you over
a webstart or full flash app?
On Sep 26, 7:52 am, Anil <anil.r...@gmail.com> wrote:
> > Anil- Hide quoted text -
>
> - Show quoted text -
On Sep 26, 8:07 am, Ryan Dewsbury <dewsb...@gmail.com> wrote:
> 1) GWT compiles to JavaScript and JavaScript can only run on one
> thread in a web browser. If you need to perform long processing and
> don't want the interface to slow down you should look at
> IncrementalCommand. It lets you break up a long process into parts.
> (http://code.google.com/webtoolkit/documentation/
> com.google.gwt.user.client.IncrementalCommand.html)
>
> 2) You'll need to use a browser plugin. Either Java or flash. For
> flash check out:http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media...
>
> Ryanhttp://www.gwtapps.com
>
> On Sep 26, 7:52 am, Anil <anil.r...@gmail.com> wrote:
>
>
>
> > Hello,
> > My application needed to be ported to Javascript to run in the browser
> > and run offline. There was nothing that could do it.
> > GWT and Gears came after a long wait - so it seems like my prayers
> > were answered!
> > However, I would like to know:
> > 1) How can I create threads? I need to run tasks in parallel
> > 2) How can I record audio from the microphone? As far as I know, Java
> > Sound API isnt supported.
>
> > thanks,
On Sep 26, 2:30 pm, "Fred Sauer" <f...@allen-sauer.com> wrote:
> Anil,
>
> Google Gears does provide a worker pool (although it may be too restricted
> for what you are trying to do) for background tasks:
> http://code.google.com/apis/gears/api_workerpool.html
>
> You can play sound using gwt-voices:
> http://code.google.com/p/gwt-voices/
>
> Fred
> --
> Fred Sauer
> f...@allen-sauer.com- Hide quoted text -
Google Web Toolkit has an API Library that has support for Google
Gears here:
http://code.google.com/p/gwt-google-apis/
However, at this time the WorkerPool is unsupported and has a few
issues. The Google Web Toolkit team is aware of this and will be
working on it in future versions of the API library.
Thanks, Fred, for showing him the gwt-voices ;)
Good luck Anil!
-Ben
> > thanks,Anilhttp://juwo.com- Hide quoted text -
Gears is a JavaScript API. The Google Web Toolkit actually wraps this
JavaScript API so that you can use the different Gears modules
directly in your GWT code. If you would like to use the WorkerPool
module in your GWT application, you'll want to check out this thread
where Sumit goes into the details on the different techniques
available to incorporate this module in your GWT code:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/658f6665e5b09bed/4aec89cb494e56ce?lnk=gst&q=WorkerPool&rnum=4#4aec89cb494e56ce
One of the options is to use JSNI code. Although this option is
currently discouraged in the current version of the Gears for GWT API,
if you decide to use JSNI to write your Worker code you may want to
read up more about using JSNI in GWT here:
http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.JavaScriptNativeInterface.html
I hope this works out for you!
-Ben
> > > thanks,Anilhttp://juwo.com-Hide quoted text -