×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    33

    Unhappy Recorder Midlet not working for Nokia E75

    Dear All,
    My recorder midlet is working for Nokia 5233 (S60, rel. 5), but not working for Nokia E75 (S60, rel. 3.2). I would be grateful if anyone could help me fixing my problem. In my E75, I think, there is problem in 'playing recorded voice' portion.

    Thanks in advance. Here is my code:

    /////// source code for recording //////////
    try {
    player = Manager.createPlayer("capture://audio?encoding=pcm");
    player.realize();
    RecordControl rc = (RecordControl) player.getControl("RecordControl");
    ByteArrayOutputStream output = new ByteArrayOutputStream();
    rc.setRecordStream(output);
    rc.startRecord();
    player.start();
    message.setText("Recording...");
    Thread.sleep(5000);
    message.setText("Recording Done!");
    rc.commit();
    recordedAudioArray = output.toByteArray();
    player.close();
    } catch (Exception e) {
    }
    /////// source code for playing recorded voice //////////
    try {
    ByteArrayInputStream recordedInputStream = new ByteArrayInputStream(recordedAudioArray);
    Player p2 = Manager.createPlayer(recordedInputStream, "audio/x-wav");
    p2.prefetch();
    p2.start();
    } catch (Exception e) {
    }
    }
    ///////////

    BR,
    Prithwi

  2. #2
    Regular Contributor
    Join Date
    Dec 2011
    Posts
    174

    Re: Recorder Midlet not working for Nokia E75

    Hi prithwi,

    Could you clarify a bit more about your problem. Are you getting any errors or are there any exceptions thrown.

    -tiviinik

Similar Threads

  1. Replies: 2
    Last Post: 2010-12-09, 12:19
  2. Camera MIDlet is not working with Nokia 3110c
    By prithwi in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2009-01-13, 04:24
  3. file midlet not working on nokia 6300
    By knawaz in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-10-13, 12:59
  4. Midlet is not working on the Nokia
    By bartwell in forum Mobile Java General
    Replies: 4
    Last Post: 2008-06-02, 12:54
  5. Recorder not working in Sun Java(TM) Wireless toolkit 2.5.1
    By Abhishek_karmakar in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2008-01-22, 10:35

Posting Permissions

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