04.05.2011 16:41, Jake Colman ?????:
So it*is*  correct always set up the onClickPendingIntent every time I
build and push update.  I thought maybe I had missed something and was
making a colossal error.

Not pushing a complete update can lead to errors later on.

I guess I will recode my onReceive() to actually do its work by invoking
onUpdate().  This way it all works even if the system invokes onUpdate()
on its own.

I'd recommend common code that would be called by onUpdate and onReceive both.

Thanks again, Kostya, for your excellent help.

Welcome.

This widget of mine started out as a learning exercise (I have many
years of C/C++ experience but almost none with Java and none at all with
Android) but one that solved a real problem.

Know what you mean. I started with Android out of curiosity as well, after having used an HTC Hero for a few months.

  I posted the widget
thinking that others might find it useful too.  I now have close to 400
active users (as measured by Flurry via a once daily broadcast) and keep
getting requests for enhancements.  Without the help of people such as
yourself (and Mark Murphy, Treking, and a few others) I never would have
made it this far.  Thanks!

Great. Good luck with this and any future projects.

--
Jake Colman -- Android Tinkerer

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

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