Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User arpbansal's Avatar
    Join Date
    May 2010
    Posts
    3
    Hi,
    I am following this code for speech recognition :-
    http://wiki.forum.nokia.com/index.ph...ion_in_Java_ME

    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
    rec.allocate();
    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
    rec.waitEngineState(Engine.DEALLOCATED);

    Can someone help to solve this problem?

  2. #2
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    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.

    Regards,
    r2j7

  3. #3
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    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 :
    http://discussion.forum.nokia.com/fo...d.php?t=187875

    and this one is also very very interesting :
    http://conversations.com/Forum/tabid...s/Default.aspx

Similar Threads

  1. Java & Symbian c++ signing
    By deafbat in forum Mobile Java General
    Replies: 3
    Last Post: 2010-02-19, 14:33
  2. The future of mobile developers (Java and Symbian)
    By symbianx in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved