As I just said, this app will be impossible to write.

kris

On Sat, Sep 1, 2012 at 4:31 AM, falcon74 <[email protected]> wrote:
> Being a beginner with Android (both usage and hobby dev.), I found it
> kind-of hard to believe that it is not possible to make 'Personal Call
> Assistant' or 'Answering machine' type application do not exist, since these
> are common on Symbian and iOS side of things. On checking google play, I was
> surprised to find that all auto-answer solutions use SMS/short-messaging for
> such things. I am still hoping that I am missed using the right keywords.
>
>
> On Saturday, September 1, 2012 12:28:05 PM UTC+5:30, Kristopher Micinski
> wrote:
>>
>> On Sat, Sep 1, 2012 at 12:16 AM, Nakul Maheshri
>> <[email protected]> wrote:
>> > I want to play audio file during call (like answering machine)
>> > i  am using following code
>> >        final AudioManager am;
>> >        MediaPlayer
>> > mp=MediaPlayer.create(getApplicationContext(),R.raw.na);
>> >         am=(AudioManager) getSystemService(AUDIO_SERVICE);
>> >         am.setSpeakerphoneOn(false);
>> >         am.adjustStreamVolume(AudioManager.STREAM_VOICE_CALL,
>> > AudioManager.ADJUST_LOWER, 0);
>> >         mp.start();
>> > it play audio file but by using speaker. but i do not want this i want
>> > only
>> > caller can hear..
>> > How to do that?? It Require any hardware support??
>> > Thanks in advance
>>
>> You cannot do this ever under any circumstance.
>>
>> Unfortunate end of story, even at the firmware level you have no
>> access to the in call audio stream.
>>
>> Is this in the FAQ for this group?  Perhaps it should be included..
>>
>> kris
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to