Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: How can I execute and use Win7 Speech Recognition in Java?

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How can I execute and use Win7 Speech Recognition in Java?

    Hi,


    I want to execute and use the Win7 Speech Recognition with Java. How can I open it?

    I tried to open it with "Runtime.getRuntime().exec(" ");" but I couldn't find a command to open it.
    Has anyone an idea how can I use the speech recognition once I opened it with commands in Java?


    Thank You
    B.


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: How can I execute and use Win7 Speech Recognition in Java?

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Search for a tutorial and intro programs, read the documentation and API pages. When you've made some headway and have questions, come back and ask them or let us know what you found out.

  3. #3
    Junior Member
    Join Date
    May 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How can I execute and use Win7 Speech Recognition in Java?

    ok thank you,
    am I right here in "What's Wrong With My Code?"

    Concerning my execution problem I've already searched a lot of in the internet how can I combine Win7 speech recognition and java or tutorials, but I didn't find something me helped. I have to add that I'm not a very good programmer and have problems to understand or implement all the stuff I read.

    What I've found out yet:
    public static void main(String[] args)
    {
    Runtime.getRuntime().exec(" ");
    }

    With this command I could open the notepad and the calculator, but I had problems to open for example a textfile on my desktop:

    public static void main(String[] args) {
            try {
                Process p = Runtime.getRuntime().exec("cmd /C/User/Desktop/text.txt");
                }

    Because I thought, when I can open a textfile, I could open the Win7SpeechRec. too, but I dind’t even succeed this little problem.

Similar Threads

  1. Java Speech API
    By Shahana in forum What's Wrong With My Code?
    Replies: 4
    Last Post: January 31st, 2013, 12:30 AM
  2. Sphinx-Speech recognition software
    By madhura.yerawar in forum Java Theory & Questions
    Replies: 0
    Last Post: January 21st, 2012, 01:27 AM
  3. Speech Recognition: javax.speech.recognition
    By Rapunzel in forum What's Wrong With My Code?
    Replies: 0
    Last Post: June 16th, 2011, 09:10 AM
  4. java sun speech api
    By zulqar in forum AWT / Java Swing
    Replies: 1
    Last Post: November 2nd, 2010, 01:35 AM
  5. Speech recognition project
    By zulqar in forum Java Applets
    Replies: 1
    Last Post: October 31st, 2010, 02:08 PM

Tags for this Thread