[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

java sound - not able to record voice

Posted on 2001-06-25
6
Medium Priority
?
228 Views
Last Modified: 2010-03-31
I am working on a voice mail application using java,
i am able to record voice using java sound through java application, and it is running perfectly alright, but when i try to use the same cade in an applet, it throws a LineUnavailableException , i have granted all permissions to the applet,

can anyone help??
0
Comment
Question by:kamaljeets
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 3

Expert Comment

by:dnoelpp
ID: 6226892
Java Sound uses a native library. This library needs to be installed on the clients. So I think, the applet can't access the native library.

I would try two things:

1. Use the Java plug-in. Take care to have the extension with the Java sound installed with the plugin.

2. Use Java Webstart. Maybe you have to specify that you use Java sound.

0
 

Author Comment

by:kamaljeets
ID: 6227464
how to use java plugin , i do not know please help..
0
 
LVL 3

Expert Comment

by:dnoelpp
ID: 6228612
The idea behind the Java plug-in is that you give the browser the most up-to-date version of Java. You use the <OBJECT> (Internet Explorer) or <EMBED> (Netscape) tag. There's even a tool which converts your HTML page with the <APPLET> tag to the right tags to work with the plug-in.

See the link about the Java plug-in from the Sun's Java web site:

http://java.sun.com/products/plugin/?frontpage-javaplatform

Please read carefully on how the plug-in works with extensions or native libraries, because I am not sure whether the plug-in will really help. But I think so. I would try the plug-in in your place.

Here's the link about Java Webstart:

http://java.sun.com/products/javawebstart/?frontpage-javaplatform

I wish you good luck!
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:kamaljeets
ID: 6230406
Hi!
I downloaded the plug-in , installed it and tried to run the applet , now the applet uses the installed plugin instead of default plug in of IE,
but still the problem presists, rather it is more intense, as the applet is not even getting initialized.

anyway thanx for the help,
 kamal
0
 
LVL 3

Accepted Solution

by:
dnoelpp earned 300 total points
ID: 6230751
Did you check that the plug-in contains Java sound?
0
 

Author Comment

by:kamaljeets
ID: 6230936
Hi!
Thanx for the help,
finally i am able to record voice through an applet in IE,
although there were other problems as well but ur help gave me a direction to think, and one of the major reasons the code was not working was older jvm,
so once again thanx!

Kamal
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
This video teaches viewers about errors in exception handling.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question