Hi,
The log -
11-02 11:25:57.706: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main
11-02 11:25:57.706: ERROR/AndroidRuntime(339):
android.view.WindowManager$BadTokenException: Unable to add window --
token android.os.BinderProxy@44e7d968 is not valid; is your activity
running?
11-02
when a call comes, your activity goes to background and the phone app's
activity becomes active.
You're trying to show a dialog that is tied to a activity that's not
running at the moment, thus the error.
Toasts don't have these strong ties to the activity showing them. that's
why it works.
Thanks Francisco for the explanation. Is there any possibility of
doing so? any work around?
On Nov 2, 11:18 am, Francisco Dalla Rosa soares soa...@argo.bz
wrote:
when a call comes, your activity goes to background and the phone app's
activity becomes active.
You're trying to show a dialog
Hi Sunil,
I think you should use BroadcastReceiver API for this.
2011/11/2 Sunil Mishra suniljmis...@gmail.com
Thanks Francisco for the explanation. Is there any possibility of
doing so? any work around?
On Nov 2, 11:18 am, Francisco Dalla Rosa soares soa...@argo.bz
wrote:
when a call
Hi Sunil,
I think you should use BroadcastReceiver API for this.Below link may
helpfull.
http://thinkandroid.wordpress.com/2010/02/02/custom-intents-and-broadcasting-with-receivers/
Hi Sunil,
I think you should use BroadcastReceiver API for this.
2011/11/2 Sunil Mishra
Hi Vinay,
I tried the same application that is given in that link, but i am
unable to produce the results. Can u please cross check whether it is
working or not.
On Nov 2, 3:18 pm, vinay kumar mj vinay.andr...@gmail.com wrote:
Hi Sunil,
I think you should use BroadcastReceiver API for
When you say that you're unable to produce the results...what happens
exactly.
Did you set good permission and action to catch in your AndroidManifest xml
file ?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hi arnouf,
Is it possible to call a activity using the example given in the
link.?
On Nov 2, 5:10 pm, arnouf arnaud.far...@gmail.com wrote:
When you say that you're unable to produce the results...what happens
exactly.
Did you set good permission and action to catch in your AndroidManifest
Hi,
Examine or post console log showing the error.
Regards
On Oct 25, 8:10 pm, Sunil Mishra suniljmis...@gmail.com wrote:
Hi,
I have written a code to display a dialog box when a incoming call
arrives, but it crashes.
It is working fine when done by only displaying message using Toast.
9 matches
Mail list logo