Re: [android-developers] Application.onCreate Method Randomly Called?

2013-01-17 Thread TreKing
On Thu, Jan 17, 2013 at 2:40 PM, Jake Colman 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

Re: [android-developers] Application.onCreate Method Randomly Called?

2013-01-17 Thread Mark Murphy
I assume "widget" means "app widget". In that case, is your app widget being updated, via android:updatePeriodMillis or AlarmManager? if the answer is "yes", then your process is being terminated in between updates, then recreated on the next update, triggering a new Application object and onCrea

[android-developers] Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
My application extends the Application class so that I can initialize ACRA in the onCreateMethod. My application consists primarily of a widget that monitors something and sends a notification when a condition exists. If the application or widget is installed and that condition already exists at