I think it should be straight forward. I guess you have a phone state 
listener and will be monitoring incoming calls. So, whenever you receive a 
call, you can display a Toast using Toast.makeText(context, "Your 
string").show();.

If you have already done this and then also if its not working, let me know.

Regards,
Deepak

On Wednesday, 2 January 2013 17:50:41 UTC+5:30, Makdu wrote:
>
> Hi all\
> In my application, i need to show the toast message when a call is 
> received. I have to show the destination number in this case. ie if the 
> call is coming to 98788000 number, then when call is coming , i want to 
> show 
> Call to your number 98788000   
> How can i do that. 
>
>> I am able to read the number from where the call is coming  using   
>
>  
>
>  *String phonenumber = 
>> bundle.getString(TelephonyManager.EXTRA_INCOMING_NUMBER);*
>
>
>  plz help
>

-- 
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