Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User yuxl-bupt's Avatar
    Join Date
    Jul 2005
    Posts
    1
    Hi every one,
    I have some problems need your help, I develop an audio capture program which provide real time voice services. So when the audio device record 20ms – 30ms, the program need get the audio data and restart record again.
    New there is a method to solve this problem, the detail step of this method described as below,
    (1) Get RecordControl,
    (2) Set the limited databuffer,
    (3) Start record,
    (4) When the databuffer is filled, PlayerListener.playerUpdate is called, so we can get the audio databuffer.
    But there are some problem which will low the program’s efficiency and don’t work correctly:
    (1) when the Playerlistener.playerUpdate function is called, the databuffer is not filled, the recorded data is less than the setting limited length.
    (2) Every time I want to get the recorded data, I should commit the audio player, than get the from the stream ,finial start the device again, this will badly low the program efficiency.
    (3) Every times I start the audio device, OS will inquire user whether he accept to start audio capture device, which make the foregoing method be impossible to execute.

    BTW, how I make the program to be a trustful program when It install and run.
    I develop this program on Nokia 6600. if anybody have same problems or have other method, pls let me know and discuss with each other.

  2. #2
    Registered User AceInvest's Avatar
    Join Date
    Oct 2005
    Posts
    7
    Hi,

    have you

  3. #3
    Registered User AceInvest's Avatar
    Join Date
    Oct 2005
    Posts
    7
    Hi,

    Have you solved this problem? Got any solution?

  4. #4
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    i don't know exactly if this would work, but did you tried to periodically get your bytearray ouputstream to a byte[] and then flush the bytearrayoutputstream, will keeping on recording ?

  5. #5
    Registered User alphanet's Avatar
    Join Date
    Mar 2003
    Posts
    9
    If you want to avoid the dialog from popping up, you need to sign your .jar file with a certificate and make sure the midlet is operating in the trusted domain (as well as adding the permissions in the .jad-file). It is actually possible to use a self-signed cert if you follow the procedure given at http://www.spindriftpages.net/pebble...275880301.html

    You also need to import your selfsigned cert on the phone, or make sure your commercial certificate's CA is supported

  6. #6
    Registered User powerb's Avatar
    Join Date
    Nov 2005
    Posts
    14
    or the user can set the suite parameter so that the os only asks the first time audio requested by any instance of the app ( on the 6630 at any rate )

  7. #7
    Registered User asembsoul's Avatar
    Join Date
    Oct 2005
    Posts
    3
    salam yuxl-bupt
    please let me see some code that works with you, may be I can help to increase the performance of the application (if u want)..

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