Monday, August 15, 2011

Re: [android-developers] Schedule notification not triggered.

On Mon, Aug 15, 2011 at 9:27 AM, Alaeddine Ghribi <alaeddineghribi@gmail.com> wrote:
And how i know that the brodcast receiver get called ?

Debug your code ? A LogCat message in the receiver at the very least.
I've put a simple Log at then end of repeating() function, that doesn't shows, that's means that this function that trigger ALL doesn't executes. I've called this func in OnCreate. Don't know what to do :\

What you do is use your debugger. Start from where you think that function should be called and put a breakpoint. If it doesn't get hit, walk backwards all the way up to onCreate then step through to see what is going on.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

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