×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2004
    Location
    India
    Posts
    27

    Recording Audio and sending it to server

    Hi,
    I am developing an application through which audio is captured through the device's microphone. While I can playback the captured audio, I am unable to send the captured data to the server to be stored in a database for retrieval later. I would appreciate if someone can show me how it can be done. I am using PHP / MySQL on the server to get the requests from my J2ME application.

    Thanks
    Cheers
    Shan

  2. #2
    Registered User
    Join Date
    Jan 2009
    Posts
    5

    Smile Re: Recording Audio and sending it to server

    Hi,
    I will suggest you to create your own player using the multimedia api and get the byte after setting the controls to the player. and after this when you get the data as a byte array then you can post the data in multi part. just have a look on jsr 135 for creating player and then figure out how to make multipart post to php from j2me

    pankaj

  3. #3
    Registered User
    Join Date
    Jan 2004
    Location
    India
    Posts
    27

    Re: Recording Audio and sending it to server

    hi pankaj...thanks for ur reply...i hv recorded the audio and got the data in byte array format.when i try to send that to php i get the following error.
    java.lang.IllegalArgumentException: Space character in URL

    Thanks

Similar Threads

  1. Problems sending audio via bluetooth RFcomm
    By qatanah in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2011-02-14, 06:52
  2. Sending Image and audio comment to server from MIDlet
    By pauspling in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-02-18, 23:36
  3. Sending audio over phone call
    By workmaster2 in forum Symbian
    Replies: 0
    Last Post: 2008-02-13, 19:55
  4. how to make unlimited recording of audio?
    By NickKovach in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2007-04-20, 09:28
  5. Sending Bluetooth Audio
    By charqane in forum Bluetooth Technology
    Replies: 0
    Last Post: 2005-06-28, 13:51

Posting Permissions

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