This is not possible, unless perhaps the device is in speakerphone mode. Android applications have no access to the in-call audio stream.
On Tue, Mar 6, 2012 at 12:11 AM, Jagruti Sangani <jagruti.sang...@inextrix.com> wrote: > hello, > I want to record the voice and store in one file on device.When the > perticular phone number will call and if it is call received by other > party then instead of talking i want to play that recorded file.So > please can anybody know how to play that file when call recived. > > -- > 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@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en