On Thu, Jan 17, 2013 at 2:40 PM, Jake Colman <col...@ppllc.com> wrote:

>  If the application or widget is installed and that condition
> already exists at the time of installation, the notification is
> triggered.
>

That doesn't make sense. You can't do anything when your *application* is
first installed.


> Why would
> Application.onCreate be invoked by Android after the application and
> widget were already installed and without the user doing anything?
>

That would indicate your process was killed and restarted. If the widget
was the only thing you have running, then either it or perhaps the home
screen it was running on were killed. Not likely, but possible.

Why do this check in onCreate? Why not do it strictly when the widget is
installed?

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to