You can set a breakpoint on the exception that's thrown.

Perhaps checking the contact and doing the toast in an async task
would be helpful.

On Dec 28 2010, 6:58 pm, TJ <[email protected]> wrote:
> I am targeting 2.2 using eclipse.  I have a Broadcast Reciever that I
> have given permission to process outgoing calls.  When I run the
> application, and make a call out, I get an error on the screen saying
> the application has stopped unexpectedly.
>
> I have set debug points and it seems the process just dies.  I set a
> debug point at the first line.  When I did this, it stopped at that
> line and it will let me step through the code but ends up dying. I
> also let it hit that first debug point and just sat there, it seems
> given enough time (a couple of seconds) with no activity it will just
> kill the process also. The logs are giving me no indication what the
> problem could be.
>
> Anyone have any idea why this could be?  I'm not trying to do anything
> with the outgoing call I just want to check the contact and pop up a
> toast but my application dies before I can.

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