Skip to content Skip to sidebar Skip to footer

Show Toast On Missed Call In Android Application

i want to show a Toast in an Activity when a missed call happened. How can i do it? Thanks in advance.

Solution 1:

I suppose you have content providers to access call logs.

http://www.anddev.org/video-tut_-_querying_and_displaying_the_calllog-t169.html

http://www.devx.com/wireless/Article/41133

If this code works you just need to run this query at the right time. I mean check some samples that can notify you when you get a call in your device

http://groups.google.com/group/android-developers/browse_thread/thread/d97a759a3708cbe3

Once you get this notification put a timer or use some built in Intents to find that the phone is back to normal state and access the call logs...

Solution 2:

There was a similar question recently, the answer should work for you as well:

broadcast receiver for missed call in android

showing the toast afterwards should be the easy part :)

Post a Comment for "Show Toast On Missed Call In Android Application"