I progress step by step my problem, one step is passed -now I can send string datas -text messages- here another step is I want to record some audio sounds by using microphone in first android emulator assume phone1 and send to second android emulator-phone2-. I found whole class about capturing and recording into audio file so I only ask to you that how I can send these recorded sound file -example and assume that I have a file named myFirst.wav in sdcard of first android emulator 5554 but not in android emulator 5556 what classes in java api should be used and is there another way to transfer sound file between two android emulator instances ?
In fact, I am not asking code I have seen that -I am new at socket programming- server and client codes are canonical and almost same in connection side. I ask only that an idea or half-algorithm
Thanks for your posting