SDK |
ListenUp Example |
JavaSonics ListenUp is no longer for sale.How to Request State Changes from the ListenUp AppletYou can use JavaScript to respond to events in the ListenUp program. For example, you could print "Thank you" when they finish recording. First you need to add this parameter to your APPLET tag: <param name="requestStateChanges" value="yes"> This will cause ListenUp to call a JavaScript function with the following API: function LUPJS_StateChanged( previousState, newState ) You will need to write that function. Please "View Source" for this page to see how it was done for this example. Please wait for Applet to Initialize____________________state__________________________ For more information on using JavaScript with ListenUp click here. See more examples. |