[android-developers] Re: how to send data to server while recording

2010-10-09 Thread ko5tik
Here is my inspiration source: http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: how to send data to server while recording

2010-10-08 Thread ko5tik
On Oct 8, 2:44 am, cindy ypu01...@yahoo.com wrote: why we need base64 encoding? Is that AMR ? Because HTTP is text based protocol - your server will barf on binary data (mine does ;) ) -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: how to send data to server while recording

2010-10-08 Thread cindy
If it is possible, can you share some code ? Thanks! April On Oct 8, 12:18 am, ko5tik kpriblo...@yahoo.com wrote: On Oct 8, 2:44 am,cindyypu01...@yahoo.com wrote: why we need base64 encoding? Is that AMR ? Because HTTP is text based protocol  - your server will barf on binary data (mine

[android-developers] Re: how to send data to server while recording

2010-10-07 Thread cindy
If I am using socket, how could I tell server that audio record is done? On Sep 21, 3:10 am, Kostya Vasilyev kmans...@gmail.com wrote: Might want to do base64 encoding, too (if the network protocol is HTTP). -- Kostya Vasilyev --http://kmansoft.wordpress.com 21.09.2010 11:42 пользователь

[android-developers] Re: how to send data to server while recording

2010-10-07 Thread cindy
why we need base64 encoding? Is that AMR ? On Sep 21, 3:10 am, Kostya Vasilyev kmans...@gmail.com wrote: Might want to do base64 encoding, too (if the network protocol is HTTP). -- Kostya Vasilyev --http://kmansoft.wordpress.com 21.09.2010 11:42 пользователь ko5tik kpriblo...@yahoo.com

[android-developers] Re: how to send data to server while recording

2010-09-23 Thread TheSeeker
I have had a lot of problems to send data(a string of length 250 000) to a server using java. I have probe a lot of things: 1. send byte by byte i send 40Mbytes instead of 1Mbyte of data to server(because i use a cicle for()and TCP/IP header add 40bytes and data is 1byte) int ncc = 250 000 for(int

[android-developers] Re: how to send data to server while recording

2010-09-21 Thread ko5tik
On Sep 21, 8:13 am, cindy ypu01...@yahoo.com wrote: Hi all, My application needs to record audio and send audio data to server while recording. If User stops audio input, we will stop sending. Give media recorder file descriptor of server socket instead a real file. -- You received this

Re: [android-developers] Re: how to send data to server while recording

2010-09-21 Thread Kostya Vasilyev
Might want to do base64 encoding, too (if the network protocol is HTTP). -- Kostya Vasilyev -- http://kmansoft.wordpress.com 21.09.2010 11:42 пользователь ko5tik kpriblo...@yahoo.com написал: On Sep 21, 8:13 am, cindy ypu01...@yahoo.com wrote: Hi all, My application needs to record... Give

[android-developers] Re: how to send data to server while recording

2010-08-16 Thread nikko.aiello
using MediaRecorder or AudioTrack?? an easy way with MediaRecorder is like so... MediaRecorder mMediaRecorder = new MediaRecorder(); ... FileDescriptor fd = ParcelFileDescriptor.fromSocket(mAudioOutSocket).getFileDescriptor(); mMediaRecorder.setOutputFile(fd); OR For AudioTrack, you should use

[android-developers] Re: how to send data to server while recording

2010-08-13 Thread cindy
I don't know what to try? Do you know any clue? On Aug 12, 11:46 pm, Miguel Morales therevolti...@gmail.com wrote: What have you tried? On Thu, Aug 12, 2010 at 10:45 PM,cindyypu01...@yahoo.com wrote: My application needs to send data to server while recording theaudio data? Does