Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2010

    Speech Recognization in Java ME

    I am following this code for speech recognition :-

    The problem is netbeans ide is giving some errors: symbol not found, EngineManager, RecognizerMode etc.

    Recognizer rec = (Recognizer) EngineManager.createEngine(RecognizerMode.DEFAULT);
    // Load language specific data – can take time
    RuleGrammar gram = // what to recognize
    rec.loadRuleGrammar("HelloWorld.s", grammarMarkup);
    rec.addResultListener(this); // get recognized words
    rec.requestFocus(); // user talks to us
    rec.resume(); // process audio
    // Would do other things here - wait for deallocate

    Can someone help to solve this problem?

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007

    Re: Speech Recognization in Java ME

    Hello arpbansal,

    and welcome to Forum Nokia Discussion Boards!

    AFAIK NetBeans IDE does not support this API, based on your errors this seems to be the case.

    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Super Contributor
    Join Date
    Apr 2007

    Re: Speech Recognization in Java ME

    Does the device that you are using have the needed API's ? specifically the JSR 113 API ?
    do your imports (import javax.speech.* if im not mistaken) work at all ?

    also have a look at this thread :

    and this one is also very very interesting :

Similar Threads

  1. Java & Symbian c++ signing
    By deafbat in forum Mobile Java General
    Replies: 3
    Last Post: 2010-02-19, 14:33
  2. Replies: 0
    Last Post: 2004-11-27, 17:03
  3. can't open Nokia MMS Java Library
    By barnsley in forum General Messaging
    Replies: 3
    Last Post: 2004-08-28, 05:44
  4. j2ME, java enabled, and the 3410
    By davidkangaroo in forum Mobile Java General
    Replies: 2
    Last Post: 2002-07-05, 22:30
  5. JSR-113 Java Speech API Implementation
    By glecglec in forum Mobile Java General
    Replies: 0
    Last Post: 2002-06-21, 13:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts