android.app.Application singleton instance gets recreated
<p>I am using <code>android.app.Application</code> to create a single instance. For some reason I see Android kills my <code>Instance</code> and recreate (call <code>onCreate</code>). How can I stop this from happening ? I tried adding logs on <code>onTerminate</code> and <code>onLowMemory</code> but non of these get called before <code>Instance</code> get killed. </p>

<p>Please advice.</p>

<pre><code>public class Instance extends Application {
  @Override
  public void onCreate() {
    super.onCreate();
  }

  @Override
    public void onTerminate() {
        super.onTerminate();
        Log.e(TAG, "onTerminate");
    }

    @Override
    public void onLowMemory() {
        super.onLowMemory();
            Log.e(TAG, "onLowMemory");
    }
}
</code></pre>
