Hi Ronald, My guess is that they are using an activity with transparent background. Just use handler.postDelayed(...) in your PhoneStateListener with 1 or 2 seconds delay to make sure your activity will be displayed on top of the incoming call screen so it will look like a popup on top of it. Also, make sure you finish your activity when the phone state changes again (i.e. user answers or rejects the call).
On Jul 21, 3:57 pm, Ronald Pompa <[email protected]> wrote: > Hi. > > I've got a PhoneStateListener to see call state changes, when a call > is incoming I make my app show a toast notification to display caller > data which I retrieve from a search service. Due to toasts limitation, > i would like to show a dialog instead which allows me to show the > notification longer and customize it with imageviews etc... > > The problem is that when I implement the dialog and execute the show > method in the state listener class, my application crashes. > > Does anyone know how to implement this and have an example? It seems > like WhitePages have solved this with their Caller ID app. > > http://blog.whitepages.com/2009/02/27/caller-id-by-whitepages-a-new-a... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

