Tuesday, January 4, 2011

Re: [android-developers] Re: BroadcastReciever Process outgoing calls

Just looking at logcat to see the exception would be helpful.

On Tue, Jan 4, 2011 at 7:57 PM, Bob Kerns <rwk@acm.org> wrote:
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 <delaha...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment